File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,10 @@ _ee_complete()
9898 COMPREPLY=( $(compgen \
9999 -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access" \
100100 -- $cur) )
101+ elif [ ${COMP_WORDS[1]} == "edit" ]; then
102+ COMPREPLY=( $(compgen \
103+ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --pagespeed" \
104+ -- $cur) )
101105 else
102106 COMPREPLY=( $(compgen \
103107 -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null)" \
@@ -119,7 +123,7 @@ _ee_complete()
119123
120124 "reset")
121125 COMPREPLY=( $(compgen \
122- -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access --slow-log-- db" \
126+ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access --slow-log-db" \
123127 -- $cur) )
124128 ;;
125129
You can’t perform that action at this time.
0 commit comments