diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-14 17:16:39 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-11-14 17:16:39 +0000 |
| commit | e12c3e2dc96391ecbbb22b484dc919a3f1a5500e (patch) | |
| tree | 2633c82cc89bf586f7f8c8d352ab7481896656af /Completion/Unix/Command | |
| parent | users/10979: ssh completion uses config file from -F if present (diff) | |
| download | zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar.gz zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar.bz2 zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar.lz zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar.xz zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.tar.zst zsh-e12c3e2dc96391ecbbb22b484dc919a3f1a5500e.zip | |
users/10981: needs glob_subst for config file
Diffstat (limited to 'Completion/Unix/Command')
| -rw-r--r-- | Completion/Unix/Command/_ssh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh index d31e60760..11be5d1d0 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -333,7 +333,7 @@ _ssh_hosts () { ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@" fi if (( ind = ${words[(I)-F]} )); then - config=$words[ind+1] + config=${~words[ind+1]} else config="$HOME/.ssh/config" fi |
