diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-02-14 13:10:06 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-02-14 13:10:06 -0800 |
commit | 485cbbb6cc6ac9d7c13a8268b3574829026f3797 (patch) | |
tree | 2c4adfb2b4917ff6854136637855b974a1a63269 /Completion/Unix/Command/_ssh | |
parent | e54578ff74754b70e230106d292eb645f61176f1 (diff) | |
download | zsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.tar.gz zsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.tar.xz zsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.zip |
37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors
Diffstat (limited to 'Completion/Unix/Command/_ssh')
-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 c6ede9efe..1f8f62cac 100644 --- a/Completion/Unix/Command/_ssh +++ b/Completion/Unix/Command/_ssh @@ -622,7 +622,7 @@ _ssh_hosts () { ${opt_args[-l]:+"users=${opt_args[-l]:q}"} hosts "$@" && return fi if (( ind = ${words[(I)-F]} )); then - config=${~words[ind+1]} + config=${~words[ind+1]} 2>/dev/null else config="$HOME/.ssh/config" fi |