From 11e2cf9f8deb786e7382168698b3cc4e97628cea Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 8 Nov 2024 16:19:50 +0100 Subject: [PATCH] bash_completion - update filter path --- files/bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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