From dfe4efc3fab02f1d64f94d59d0aa36ae74cb7b4f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 12 Jul 2022 10:57:41 +0800 Subject: Update --- zsh/_ssh.up | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 zsh/_ssh.up (limited to 'zsh/_ssh.up') 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 @@ +#compdef ssh.up + +function _ssh.up() { + compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$') +} + +_ssh.up -- cgit v1.2.3-70-g09d2