From acc5d0008519c4a1e5e714ff03007676a8a6106c Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Tue, 24 Feb 2015 20:00:53 +0530 Subject: [PATCH] import-slow-log autocompletion in ee debug --mysql --- config/bash_completion.d/ee_auto.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/bash_completion.d/ee_auto.rc b/config/bash_completion.d/ee_auto.rc index e590d5f0..d7238ba7 100644 --- a/config/bash_completion.d/ee_auto.rc +++ b/config/bash_completion.d/ee_auto.rc @@ -153,6 +153,9 @@ _ee_complete() retlist="--nginx --php --mysql --postfix --memcache --dovecot" elif [[ ${COMP_WORDS[1]} == "debug" ]]; then retlist="--start --nginx --php --fpm --mysql -i --interactive --stop" + if [[ $prev == '--mysql' ]]; then + retlist="--start --nginx --php --fpm --mysql -i --interactive --stop --import-slow-log" + fi fi ret="${retlist[@]/$prev}" COMPREPLY=( $(compgen \