Browse Source

updated autocomplete for ee site update

bugfixes
harshadyeola 10 years ago
parent
commit
62b6633b08
  1. 4
      config/bash_completion.d/ee

4
config/bash_completion.d/ee

@ -102,8 +102,10 @@ function EE_AUTO()
;; ;;
*) *)
if [ "$PREVIOUS2" = "create" ] || [ "$PREVIOUS2" = "update" ]; then if [ "$PREVIOUS2" = "create" ]; then
COMPREPLY=( $( compgen -W "--html --php --mysql --wp --wpsubdir --wpsubdomain" -- $CURRENT ) ) COMPREPLY=( $( compgen -W "--html --php --mysql --wp --wpsubdir --wpsubdomain" -- $CURRENT ) )
elif [ "$PREVIOUS2" = "update" ]; then
COMPREPLY=( $( compgen -W "--wp --wpsubdir --wpsubdomain" -- $CURRENT ) )
elif [ "$PREVIOUS2" = "delete" ]; then elif [ "$PREVIOUS2" = "delete" ]; then
COMPREPLY=( $( compgen -W "--db --all --files --no-prompt" -- $CURRENT ) ) COMPREPLY=( $( compgen -W "--db --all --files --no-prompt" -- $CURRENT ) )
fi fi

Loading…
Cancel
Save