From dc64bbea4febd95305c0c05755c80a77923e965a Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Wed, 9 Nov 2022 18:29:32 +0800 Subject: Update zsh completion --- zsh/_ssh.up | 6 +----- 1 file changed, 1 insertion(+), 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 @@ #compdef ssh.up -function _ssh.up() { - compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$') -} - -_ssh.up +_arguments "1:filename:_files" "2:remote_paths:($(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$'))" -- cgit v1.2.3-70-g09d2