Adding conditions for sourcing files.
This commit is contained in:
parent
f01659eb84
commit
f1a1761f59
12
zshrc
12
zshrc
@ -82,7 +82,13 @@ bindkey -M vicmd 'j' history-beginning-search-forward
|
||||
bindkey '^?' backward-delete-char
|
||||
bindkey '^h' backward-delete-char
|
||||
|
||||
source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
if [ -f /usr/share/doc/pkgfile/command-not-found.zsh ]
|
||||
then
|
||||
source /usr/share/doc/pkgfile/command-not-found.zsh
|
||||
fi
|
||||
|
||||
# Automatically source virtualenv
|
||||
source /usr/bin/virtualenvwrapper_lazy.sh
|
||||
if [ -f /usr/bin/virtualenvwrapper_lazy.sh ]
|
||||
then
|
||||
# Automatically source virtualenv
|
||||
source /usr/bin/virtualenvwrapper_lazy.sh
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user