Cut back to working completion
This commit is contained in:
parent
1342e1f5c7
commit
7210cf5d49
2 changed files with 9 additions and 7 deletions
7
_goto
7
_goto
|
@ -1,7 +0,0 @@
|
|||
#compdef _goto goto
|
||||
function _goto {
|
||||
for label in $(_awk '{print $1;}' `_goto_file`)
|
||||
do
|
||||
compadd "$@" "${label}"
|
||||
done
|
||||
};
|
|
@ -44,3 +44,12 @@ function goto {
|
|||
fi
|
||||
fi
|
||||
};
|
||||
|
||||
function _goto {
|
||||
for label in $(awk '{print $1}' `_goto_file`)
|
||||
do
|
||||
compadd "$@" $label
|
||||
done
|
||||
};
|
||||
|
||||
compdef _goto goto
|
||||
|
|
Loading…
Reference in a new issue