diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2022-11-09 18:29:32 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2022-11-09 18:29:32 +0800 |
commit | dc64bbea4febd95305c0c05755c80a77923e965a (patch) | |
tree | d0c89fd4a676720c3f850d2c3a7e3d50839f732e /zsh/_ssh.up | |
parent | d3d0dac49f12f999a499a5aff52d8cda0b96c4ac (diff) |
Update zsh completion
Diffstat (limited to 'zsh/_ssh.up')
-rw-r--r-- | zsh/_ssh.up | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/zsh/_ssh.up b/zsh/_ssh.up index 4ac33d2..af8a913 100644 --- a/zsh/_ssh.up +++ b/zsh/_ssh.up | |||
@@ -1,7 +1,3 @@ | |||
1 | #compdef ssh.up | 1 | #compdef ssh.up |
2 | 2 | ||
3 | function _ssh.up() { | 3 | _arguments "1:filename:_files" "2:remote_paths:($(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$'))" |
4 | compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$') | ||
5 | } | ||
6 | |||
7 | _ssh.up | ||