Cut back to working completion

This commit is contained in:
Reid 'arrdem' McKenzie 2018-03-03 19:19:27 -08:00
parent 1342e1f5c7
commit 7210cf5d49
2 changed files with 9 additions and 7 deletions

7
_goto
View file

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

View file

@ -44,3 +44,12 @@ function goto {
fi fi
fi fi
}; };
function _goto {
for label in $(awk '{print $1}' `_goto_file`)
do
compadd "$@" $label
done
};
compdef _goto goto