aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--zsh/_ssh.up6
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
3function _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