Browse Source

Minor update

bugfixes
harshadyeola 10 years ago
parent
commit
5ef2011dac
  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