1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-29 19:00:57 +02:00

zsh-workers/7750

This commit is contained in:
Tanaka Akira 1999-09-09 14:33:42 +00:00
parent 825960a988
commit 9d18eb9c7a

View file

@ -57,6 +57,8 @@ if [[ "$*" != "$_args_cache_descr" ]]; then
# We have to build the long-option cache anew, get the `-i' and
# `-s' options.
set -- "${(@)argv[nth+1,-1]}"
iopts=()
sopts=()
while [[ "$1" = -[is]* ]]; do
@ -105,7 +107,7 @@ if [[ "$*" != "$_args_cache_descr" ]]; then
# ... and add "same" options
while (( $#sopts )); do
lopts=( $lopts ${opts/$sopts[1]/$sopts[2]} )
lopts=( $lopts ${lopts/$sopts[1]/$sopts[2]} )
shift 2 sopts
done