diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-26 13:02:30 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-02-26 13:02:30 +0000 |
commit | 006e9b9afba10e2e64d86538fe5777376c8f0f57 (patch) | |
tree | 4cba2693f257bb5392faa929731bf5bcfdff8de0 /Completion/Builtins/_zftp | |
parent | 85de1eae0bbd3e94fa73cb56cb847d3edff99f59 (diff) | |
download | zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.gz zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.tar.xz zsh-006e9b9afba10e2e64d86538fe5777376c8f0f57.zip |
change $words[1] to $service in some more places (13534)
Diffstat (limited to 'Completion/Builtins/_zftp')
-rw-r--r-- | Completion/Builtins/_zftp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_zftp b/Completion/Builtins/_zftp index 610af2607..ca6c59fec 100644 --- a/Completion/Builtins/_zftp +++ b/Completion/Builtins/_zftp @@ -11,7 +11,7 @@ _compskip=all local subcom expl curcontext="${curcontext}" -if [[ $words[1] = zftp ]]; then +if [[ $service = zftp ]]; then if [[ $CURRENT -eq 2 ]]; then _wanted commands expl sub-command \ compadd open params user login type ascii binary mode put \ @@ -22,7 +22,7 @@ if [[ $words[1] = zftp ]]; then subcom=$words[2] curcontext="${curcontext/:zftp:/:zftp-${words[2]}:}" else - subcom=$words[1] + subcom=$service fi case $subcom in |