changed colourscheme, fixed some bugs with zsh fzf and how it found

files to source.
This commit is contained in:
Gabe Venberg 2021-03-16 02:30:07 -05:00
parent 2c7bd185c2
commit e0247b6ff1
2 changed files with 105 additions and 68 deletions

View file

@ -194,10 +194,10 @@ PROMPT='%F{cyan}[%n@%m]%f%F{red}├────┤%f${vcs_info_msg_0_}
#fzf stuff
#zsh key bindings (different distros put these in different places.)
source $(find /usr/share -path '*fzf/*key-bindings.zsh')
source $(find /usr/share -path '*fzf/*key-bindings.zsh' -print -quit 2> /dev/null)
#zsh completions, if it exists.
testPath=$(find /usr/share -path '*fzf/*completion.zsh')
if test $(echo $testPath | wc -c) -eq 0
testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
if test $(echo $testPath | wc -c) -ne 0
then
source $testPath
fi