Skip to content

Commit 9d5e0b9

Browse files
committed
minor modification
1 parent a8a9650 commit 9d5e0b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/bash_completion.d/ee_auto.rc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ _ee_complete()
9393
*)
9494
;;
9595
esac
96-
if [[ ${COMP_WORDS[1]} == "debug" ]] && [ "$prev" != "--start" ] || [ "$prev" != "--nginx" ] || [ "$prev" != "--php" ] || [ "$prev" != "--fpm" ] || [ "$prev" != "--mysql" ] || [ "$prev" != "-i" ] || ["$prev" != "--interactive" ] || ["$prev" != "--stop" ]; then
96+
97+
if [ ${COMP_WORDS[1]} == "debug" ] && ([ "$prev" != "--start" ] || [ "$prev" != "--nginx" ] || [ "$prev" != "--php" ] || [ "$prev" != "--fpm" ] || [ "$prev" != "--mysql" ] || [ "$prev" != "-i" ] || ["$prev" != "--interactive" ] || ["$prev" != "--stop" ]); then
9798
retlist="--start --stop --wp --rewrite -i"
9899
ret="${retlist[@]/$prev}"
99100
COMPREPLY=( $(compgen \

0 commit comments

Comments
 (0)