diff options
Diffstat (limited to 'shell/completion.zsh')
| -rw-r--r-- | shell/completion.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/completion.zsh b/shell/completion.zsh index b17271c5..3663a610 100644 --- a/shell/completion.zsh +++ b/shell/completion.zsh @@ -281,9 +281,9 @@ if ! declare -f __fzf_list_hosts > /dev/null; then ) \ <( __fzf_exec_awk -F ',' ' - match($0, /^[[a-zA-Z0-9.,:-]+/) { + match($0, /^[][a-zA-Z0-9.,:-]+/) { $0 = substr($0, 1, RLENGTH) - gsub(/\[/, "") + gsub(/[][]|:[^,]*/, "") for (i = 1; i <= NF; i++) print $i } |
