1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

users/10981: needs glob_subst for config file

This commit is contained in:
Peter Stephenson 2006-11-14 17:16:39 +00:00
parent b50e035a8a
commit e12c3e2dc9
2 changed files with 5 additions and 1 deletions

@ -1,5 +1,9 @@
2006-11-14 Peter Stephenson <pws@csr.com>
* users/10981: Jean-Rene David <jrdavid@magma.ca>:
Completion/Unix/Command/_ssh: needs glob_subst to expand
path for config file.
* users/10979: Completion/Unix/Command/_ssh: use config file
from -F option if present.

@ -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