mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-11-25 18:40:07 +08:00
Fix regex of ansible completion
This commit is contained in:
1 parent
1e1c48e37b
commit
75bbd4b155
1 file changed
+1
-1
+1
-1
@@ -92,7 +92,7 @@ __host_list ()
|
||||
local -a mixed_host_list
|
||||
mixed_host_list=$(command \
|
||||
cat ${HOST_FILE} \
|
||||
| awk 'NF && $1 !~ /^[:space:]*#|[\[:=]/ { print $1 }' \
|
||||
| awk 'NF && $1 !~ /^[[:space:]]*#|[\[:=]/ { print $1 }' \
|
||||
| sort | uniq)
|
||||
|
||||
# compute set difference h1 - h2
|
||||
|
||||
Reference in new issue
Block a user