Browse Source

Minor update

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

11
config/bash_completion.d/ee

@ -79,10 +79,15 @@ function EE_AUTO()
;;
--nginx|--rewrite|--php|--fpm|--mysql)
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) )
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
;;
return 0
;;
--wp)
if [ "$PREVIOUS3" = "create" ] || [ "$PREVIOUS3" = "update" ]; then

Loading…
Cancel
Save