Browse Source

Minor update

old-stable
harshadyeola 10 years ago
parent
commit
f5f1b44a11
  1. 5
      config/bash_completion.d/ee

5
config/bash_completion.d/ee

@ -79,11 +79,16 @@ function EE_AUTO()
;;
--nginx|--rewrite|--php|--fpm|--mysql)
if [ "$PREVIOUS" = "--mysql" ]; then
COMPREPLY=( $(compgen -W '$(echo --import-slow-log-interval; command cd /usr/local/lib/easyengine/modules/debug/; find -type f | grep debug | cut -d'_' -f4 | cut -d '.' -f1 | sed 's/^/--/g' 2> /dev/null)' -- $CURRENT) )
else
COMPREPLY=( $(compgen -W '$(command cd /usr/local/lib/easyengine/modules/debug/; find -type f | grep debug | cut -d'_' -f4 | cut -d '.' -f1 | sed 's/^/--/g' 2> /dev/null)' -- $CURRENT) )
fi
ee_single
return 0
;;
--wp)
if [ "$PREVIOUS3" = "create" ] || [ "$PREVIOUS3" = "update" ]; then
COMPREPLY=( $( compgen -W "--basic --w3tc --wpsc --wpfc" -- $CURRENT ) )

Loading…
Cancel
Save