From b3bd6363c6ade2c88ef5cf1f4769b2e89819c21a Mon Sep 17 00:00:00 2001 From: gau1991 Date: Wed, 15 Apr 2015 13:20:37 +0530 Subject: [PATCH] Fixed more autocompletion --- config/bash_completion.d/ee_auto.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/bash_completion.d/ee_auto.rc b/config/bash_completion.d/ee_auto.rc index 4a998094..6c1db025 100644 --- a/config/bash_completion.d/ee_auto.rc +++ b/config/bash_completion.d/ee_auto.rc @@ -105,12 +105,18 @@ _ee_complete() fi ;; - "gzip" | "mail") + "gzip") COMPREPLY=( $(compgen \ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access" \ -- $cur) ) ;; + "mail") + COMPREPLY=( $(compgen \ + -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access --to=" \ + -- $cur) ) + ;; + "reset") COMPREPLY=( $(compgen \ -W "$(find /etc/nginx/sites-available/ -type f -printf "%P " 2> /dev/null) --nginx --php --fpm --mysql --wp --access --slow-log--db" \