jfc what does it take to get this working
This commit is contained in:
parent
2aa979cf0e
commit
1342e1f5c7
1 changed files with 1 additions and 3 deletions
4
_goto
4
_goto
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/zsh
|
#compdef _goto goto
|
||||||
function _goto {
|
function _goto {
|
||||||
for label in $(_awk '{print $1;}' `_goto_file`)
|
for label in $(_awk '{print $1;}' `_goto_file`)
|
||||||
do
|
do
|
||||||
compadd "$@" "${label}"
|
compadd "$@" "${label}"
|
||||||
done
|
done
|
||||||
};
|
};
|
||||||
|
|
||||||
complete -o default -F _goto goto
|
|
||||||
|
|
Loading…
Reference in a new issue