From 425769b877da18ea1591496cd298db366a6ba8f9 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 6 Jan 2014 18:06:35 +0530 Subject: [PATCH] Minor Update On Auto Completion --- etc/bash_completion.d/ee | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/bash_completion.d/ee b/etc/bash_completion.d/ee index 314515da..6170ec71 100644 --- a/etc/bash_completion.d/ee +++ b/etc/bash_completion.d/ee @@ -60,6 +60,17 @@ EEAUTO() return 0 ;; + *) + if [ "$EECOMMON" = "create" ] + then + COMPREPLY=( $( compgen -W "--html --php --wp --wpsubdir --wpsubdomain" -- $CURRENT ) ) + elif [ "$EECOMMON" = "delete" ] + then + COMPREPLY=( $( compgen -W "--db --all --files" -- $CURRENT ) ) + fi + return 0 + ;; + esac }