diff --git a/config/bash_completion.d/ee_auto.rc b/config/bash_completion.d/ee_auto.rc index 26d30ad3..a80c50f0 100644 --- a/config/bash_completion.d/ee_auto.rc +++ b/config/bash_completion.d/ee_auto.rc @@ -93,7 +93,7 @@ _ee_complete() -- $cur) ) ;; - "edit" | "enable" | "info" | "log" | "show" | "cd" | "update" | "delete") + "edit" | "enable" | "info" | "log" | "show" | "cd" | "delete") if [ ${COMP_WORDS[1]} == "log" ]; then COMPREPLY=( $(compgen \ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --access" \ @@ -104,7 +104,11 @@ _ee_complete() -- $cur) ) fi ;; - + "update") + COMPREPLY=( $(compgen \ + -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --all" \ + -- $cur) ) + ;; "gzip") COMPREPLY=( $(compgen \ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --access" \