diff options
| author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:14:06 +0000 |
|---|---|---|
| committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-04 12:14:06 +0000 |
| commit | 3c3ffa433dca8c6c396d1cca734bc349a91b9797 (patch) | |
| tree | 3e64c1b3747450bca87394a65812dfdd1b7a1f82 /Completion/User/_ssh | |
| parent | zsh-workers/9560 (diff) | |
| download | zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.gz zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.bz2 zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.lz zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.xz zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.tar.zst zsh-3c3ffa433dca8c6c396d1cca734bc349a91b9797.zip | |
zsh-workers/9562
Diffstat (limited to 'Completion/User/_ssh')
| -rw-r--r-- | Completion/User/_ssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/User/_ssh b/Completion/User/_ssh index 9b07a62cf..aa4ffb2f6 100644 --- a/Completion/User/_ssh +++ b/Completion/User/_ssh @@ -91,7 +91,7 @@ _ssh () { ;; *(#i)xauthlocation*) _description files expl 'xauth program' - _files "$expl[@]" -g '*(*)' && ret=0 + _files "$expl[@]" -g '*(-*)' && ret=0 ;; esac else @@ -155,7 +155,7 @@ _ssh () { '-c[select encryption cipher]:encryption cipher:(idea des 3des blowfish arcfour tss none)' \ '-P[specify port on remote host]:port number on remote host:' \ '-i[select identity file]:SSH identity file:_files' \ - '-S[specify path to ssh]:path to ssh:_files -g \*\(\*\)' \ + '-S[specify path to ssh]:path to ssh:_files -g \*\(-\*\)' \ '-o[give SSH options]:options:->options' \ '-p[preserve modification times]' \ '-r[recursively copy directories]' \ |
