From 860f81e43298cd189d0b901a5e334099be03b060 Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Fri, 9 Mar 2018 01:41:40 +0200 Subject: [PATCH] Add autocomplete options for version --- goto.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goto.bash b/goto.bash index c9aeadf..2a5c4ba 100644 --- a/goto.bash +++ b/goto.bash @@ -235,7 +235,7 @@ function _complete_goto_commands() local IFS=$' \t\n' # shellcheck disable=SC2207 - COMPREPLY=($(compgen -W "-r --register -u --unregister -l --list -c --cleanup" -- "$1")) + COMPREPLY=($(compgen -W "-r --register -u --unregister -l --list -c --cleanup -v --version" -- "$1")) } # Completes the goto function with the available aliases