diff options
Diffstat (limited to 'scripts/deploy/completions/zsh.sh')
| -rw-r--r-- | scripts/deploy/completions/zsh.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/deploy/completions/zsh.sh b/scripts/deploy/completions/zsh.sh index 2b2a96b..dd1ff38 100644 --- a/scripts/deploy/completions/zsh.sh +++ b/scripts/deploy/completions/zsh.sh @@ -15,13 +15,13 @@ _jvn_completion() { fi args=( - -f "$buffer" + -f "${buffer//-/^}" -C "$cursor" - -w "$current_word" - -p "$previous_word" + -w "${current_word//-/^}" + -p "${previous_word//-/^}" -c "$command_name" -i "$word_index" - -a "${words[@]}" + -a "${(@)words//-/^}" ) suggestions=$(jvn_comp "${args[@]}" 2>/dev/null) |
