Browse Source

Add EE Auto Complete For Site Command

old-stable
Mitesh Shah 12 years ago
parent
commit
5515ed5525
  1. 11
      setup/ee

11
setup/ee

@ -29,13 +29,12 @@ EEAUTO()
COMPREPLY=( $( compgen -W "" -- $CURRENT ) ) COMPREPLY=( $( compgen -W "" -- $CURRENT ) )
return 0 return 0
;; ;;
esac
# completing an option site)
if [[ "$CURRENT" == -* ]] COMPREPLY=( $( compgen -W "info list show create enable disable delete backup" -- $CURRENT ) )
then return 0
COMPREPLY=( $( compgen -W "-E -S -A -J -s -P -M -q -G -C -U -T -K" -- $CURRENT ) ) ;;
fi esac
} }
complete -F EEAUTO ee easyengine complete -F EEAUTO ee easyengine
Loading…
Cancel
Save