# used for zsh tab completion cur=${words[2, -1]} autojump --complete ${=cur[*]} | while read i; do compadd -U "$i"; done