|
|
@ -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" \ |
|
|
|