Compare commits

...

2 commits

Author SHA1 Message Date
finga 3a4053e2e2 virtualenvwrapper: Only load when available
Only load the `virtualenvwrapper` when it is available.
2023-06-21 09:03:09 +02:00
finga 6474b5f18c fzf: Only load fzf key bindings when available
Only load the `fzf` key bindings when fzf is available. Reorder as
`.banner` seems more important.
2023-06-21 09:01:09 +02:00

13
.zshrc
View file

@ -53,8 +53,15 @@ DIRSTACKSIZE=20
GPG_TTY=$(tty)
export GPG_TTY
# source fzf
. /usr/share/doc/fzf/examples/key-bindings.zsh
# source banner
. ~/.banner
# source fzf
if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then
. /usr/share/doc/fzf/examples/key-bindings.zsh
fi
# source virtualenvwrapper
if [ -e "/usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh" ] ; then
. /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
fi