Browse Source

fixed autocompletion after merge

bugfixes
harshadyeola 10 years ago
parent
commit
f133c31570
  1. 6
      config/bash_completion.d/ee_auto.rc

6
config/bash_completion.d/ee_auto.rc

@ -143,12 +143,6 @@ _ee_complete()
COMPREPLY=( $(compgen \
-W "$(echo $ret)" \
-- $cur) )
else
retlist="--start --nginx --php --fpm --mysql -i --interactive --stop --import-slow-log --import-slow-log-interval="
ret="${retlist[@]/$prev}"
COMPREPLY=( $(compgen \
-W "$(echo $ret)" \
-- $cur) )
fi
#if [ ${COMP_WORDS[1]} == "log" ] && ([ "$prev" != "--access" ] || [ "$prev" != "--nginx" ] || [ "$prev" != "--php" ] || [ "$prev" != "--fpm" ] || [ "$prev" != "--mysql" ] || [ "$prev" != "-i" ] || ["$prev" != "--interactive" ] || ["$prev" != "--stop" ]); then

Loading…
Cancel
Save