diff --git a/completion/available/bash-it.completion.bash b/completion/available/bash-it.completion.bash index 43a26a64..f4eddc20 100644 --- a/completion/available/bash-it.completion.bash +++ b/completion/available/bash-it.completion.bash @@ -53,7 +53,7 @@ _bash-it-comp() prev="${COMP_WORDS[COMP_CWORD-1]}" chose_opt="${COMP_WORDS[1]}" file_type="${COMP_WORDS[2]}" - opts="help show enable disable" + opts="help show enable disable update" case "${chose_opt}" in show) local show_args="plugins aliases completions" @@ -61,10 +61,13 @@ _bash-it-comp() return 0 ;; help) - local help_args="plugins aliases completions" + local help_args="plugins aliases completions update" COMPREPLY=( $(compgen -W "${help_args}" -- ${cur}) ) return 0 ;; + update) + return 0 + ;; enable | disable) if [ x"${chose_opt}" == x"enable" ];then suffix="available-not-enabled"