diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-12 10:57:41 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-07-12 10:57:41 +0800 |
commit | dfe4efc3fab02f1d64f94d59d0aa36ae74cb7b4f (patch) | |
tree | 9afde55a8eccbbfbd694fad759eeaaea5fb317d2 /zsh/_ssh.up | |
parent | c37e12ae4e43225406ada75daf6480d32e22538b (diff) |
Update
Diffstat (limited to 'zsh/_ssh.up')
-rw-r--r-- | zsh/_ssh.up | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/_ssh.up b/zsh/_ssh.up new file mode 100644 index 0000000..4ac33d2 --- /dev/null +++ b/zsh/_ssh.up | |||
@@ -0,0 +1,7 @@ | |||
1 | #compdef ssh.up | ||
2 | |||
3 | function _ssh.up() { | ||
4 | compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$') | ||
5 | } | ||
6 | |||
7 | _ssh.up | ||