zsh : fori
This commit is contained in:
parent
9d03e71712
commit
577e5a2a49
@ -19,6 +19,10 @@ snippet for
|
|||||||
for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do
|
for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do
|
||||||
${3:# statements}
|
${3:# statements}
|
||||||
done
|
done
|
||||||
|
snippet fori
|
||||||
|
for ${1:needle} in ${2:haystack} ; do
|
||||||
|
${3:#statements}
|
||||||
|
done
|
||||||
snippet fore
|
snippet fore
|
||||||
for ${1:item} in ${2:list}; do
|
for ${1:item} in ${2:list}; do
|
||||||
${3:# statements}
|
${3:# statements}
|
||||||
|
Loading…
Reference in New Issue
Block a user