1 2 3 4 5 6 7
#compdef vp function _vp() { compadd -S '' $(ssh vps find /home/pham/blog/content -name '\*.md' | grep -o '[^/]*$') } _vp