zsh/.zsh/completion/_pb #compdef pb _pb() { local -a commands commands=( 'ix.io' '0x0.st' 'catbox.moe' 'clbin.com' 'dmca.gripe' 'dumpz.org' 'fiery.me' 'p.iotek.org' 'sprunge.us' 'uguu.se' 'pastebin.com' ) if (( CURRENT == 2 )); then _describe -t commands 'commands' commands else _files fi return 0 } _pb