- Fixed bug where bash autocompletion did not work for aliases.
- Added new '_aliases' helper command.
This commit is contained in:
Scott Kostyshak 2012-07-28 15:01:15 -04:00 committed by Paul Beckingham
parent 275132c1fa
commit 4f76e0ed7c
9 changed files with 130 additions and 2 deletions

View file

@ -88,7 +88,8 @@ _task()
# echo "prev='$prev'"
# echo "prev2='$prev2'"
opts="$(task _commands) $(task _ids) $(task _columns)"
commands_aliases=$(echo $(task _commands; task _aliases) | tr " " "\n"|sort|tr "\n" " ")
opts="$commands_aliases $(task _ids) $(task _columns)"
case "${prev}" in
:)