aboutsummaryrefslogtreecommitdiffhomepage
path: root/zsh/_ssh.up
blob: 4ac33d28058f1ad16d3e08f5606dbc8a814a5bc2 (plain)
1
2
3
4
5
6
7
#compdef ssh.up

function _ssh.up() {
  compadd -S '' $(ssh vps find /home/pham/public -maxdepth 1 -type d | grep -o '[^/]*$')
}

_ssh.up