From 134ab4d36bb696871bda25bb1011de0fee140886 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Mon, 15 Mar 2021 17:49:56 -0500 Subject: [PATCH] fixed sourcing zsh completions when they were not included in distro packaging. --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 9c1f30e..4638a38 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -192,11 +192,11 @@ PROMPT='%F{cyan}[%n@%m]%f%F{red}├────┤%f${vcs_info_msg_0_} alias grep="grep $GREP_OPTIONS" #fzf stuff -#zsh key bindings (different distros put these in different places.) + #zsh key bindings (different distros put these in different places.) source $(find /usr/share -path '*fzf/*key-bindings.zsh') #zsh completions, if it exists. - testPath = $(find /usr/share -path '*fzf/*completion.zsh') - if test $(echo $testPath | wc -c) -ne 0 + testPath=$(find /usr/share -path '*fzf/*completion.zsh') + if test $(echo $testPath | wc -c) -eq 0 then source $testPath fi