diff --git a/templates/zsh.txt b/templates/zsh.txt index 9ada542..595d22e 100644 --- a/templates/zsh.txt +++ b/templates/zsh.txt @@ -100,7 +100,6 @@ if [[ -o zle ]]; then # Show completions for local directories. _cd -/ - # Don't return 0 so we can fall back to another comleter if unsuccessful. elif [[ "${words[-1]}" == '' ]]; then # Show completions for Space-Tab. # shellcheck disable=SC2086 @@ -112,9 +111,9 @@ if [[ -o zle ]]; then \builtin printf '\e[5n' fi - # Report that the completion was successful, so that we don't fall back - # to another completion function. - return 0 + # Report that the completion was successful, so that we don't fall back + # to another completion function. + return 0 } function __zoxide_z_complete_helper() {