diff --git a/files/bash_completion b/files/bash_completion index 52e3b46..7c93a3d 100644 --- a/files/bash_completion +++ b/files/bash_completion @@ -1,7 +1,7 @@ function _connect() { COMPREPLY=() local currentWord=${COMP_WORDS[COMP_CWORD]} - local completeHosts=$(cat /etc/passwd|grep "/var/www/sites"|cut -d ':' -f 1) + local completeHosts=$(cat /etc/passwd|grep "/var/www"|cut -d ':' -f 1) COMPREPLY=($(compgen -W "$completeHosts" -- "$currentWord")) return 0