zsh-goto/_goto

7 lines
130 B
Text

#compdef _goto goto
function _goto {
for label in $(_awk '{print $1;}' `_goto_file`)
do
compadd "$@" "${label}"
done
};