From e12c3e2dc96391ecbbb22b484dc919a3f1a5500e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 14 Nov 2006 17:16:39 +0000 Subject: users/10981: needs glob_subst for config file --- Completion/Unix/Command/_ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_ssh') 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 -- cgit 1.4.1