1 2 3 4 5 6 7
#compdef vp function _vp() { compadd -S '' $(cd ~/blog/content/posts && ls ${words[2]}*) } _vp