Add missing completion for the cleanup command.

This commit is contained in:
Lazarus Lazaridis 2018-03-05 23:44:58 +02:00
parent 58c3ea9271
commit b654c6933a

View File

@ -195,7 +195,7 @@ function _goto_resolve_alias()
# Completes the goto function with the available commands # Completes the goto function with the available commands
function _complete_goto_commands() function _complete_goto_commands()
{ {
COMPREPLY=($(compgen -W "-r --register -u --unregister -l --list" -- "$1")) COMPREPLY=($(compgen -W "-r --register -u --unregister -l --list -c --cleanup" -- "$1"))
} }
# Completes the goto function with the available aliases # Completes the goto function with the available aliases