zsh-goto/_goto

8 lines
130 B
Text
Raw Normal View History

#compdef _goto goto
function _goto {
2018-01-16 20:33:54 +00:00
for label in $(_awk '{print $1;}' `_goto_file`)
do
2018-01-16 20:33:54 +00:00
compadd "$@" "${label}"
done
};