diff options
| author | Peter Son Struschka <me@peter-struschka.com> | 2019-08-24 16:19:46 +0700 |
|---|---|---|
| committer | Peter Son Struschka <me@peter-struschka.com> | 2019-08-24 16:19:46 +0700 |
| commit | 2bb9010d2e613206ce3d476dbea81eb9a56f3c66 (patch) | |
| tree | 211bd6729a0909788a37fbda841d7debcfcef7ca | |
| parent | 4d099cffcd4a59651a0c77808ae40c4b2ca67d9d (diff) | |
| download | dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.tar.gz dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.tar.bz2 dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.tar.lz dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.tar.xz dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.tar.zst dotfiles-2bb9010d2e613206ce3d476dbea81eb9a56f3c66.zip | |
Fix: check that scripts exist before running them
| -rw-r--r-- | zsh/.zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,8 +76,8 @@ fi # python virtualenvwrapper export WORKON_HOME=~/.virtualenvs -source /usr/bin/virtualenvwrapper_lazy.sh +[[ -e /usr/bin/virtualenvwrapper_lazy.sh ]] && source /usr/bin/virtualenvwrapper_lazy.sh alias ec="emacsclient -c" -source /usr/share/doc/pkgfile/command-not-found.zsh +[[ -e /usr/share/doc/pkgfile/command-not-found.zsh ]] && source /usr/share/doc/pkgfile/command-not-found.zsh |
