aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/_ssh.up
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/_ssh.up')
-rw-r--r--zsh/_ssh.up7
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
3function _ssh.up() {
4 compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$')
5}
6
7_ssh.up