mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #1043
- Fixed bug where bash autocompletion did not work for aliases. - Added new '_aliases' helper command.
This commit is contained in:
parent
275132c1fa
commit
4f76e0ed7c
9 changed files with 130 additions and 2 deletions
|
@ -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
|
||||
:)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue