From c25b9339efe50d861e048a644a8184a29eb5583a Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 4 Sep 2019 22:51:54 +0200 Subject: zsh: fix --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b12a727..032eae2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -365,6 +365,8 @@ if [[ $_HOST_TYPE == "Linux" ]]; then fi if [[ $(hostname) == "barkley" ]]; then - source $HOME/.files/zsh/.zshrc.work + if [[ -f $HOME/.files/zsh/.zshrc.work ]]; then + source $HOME/.files/zsh/.zshrc.work + fi fi -- cgit v1.2.3