summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh/.zshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 3622ddf..efa587b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -29,8 +29,10 @@ export PATH="$BREW_PREFIX:$PATH"
export GPG_TTY=$(tty)
# borgbackup
-export BORG_CACHE_DIR="/tank/borg-cache"
-mkdir -p /tank/borg-cache
+if [[ "$(uname)" == "Linux" ]]; then
+ export BORG_CACHE_DIR="/tank/borg-cache"
+ mkdir -p /tank/borg-cache
+fi
# NVM Configuration
export NVM_DIR="$HOME/.nvm"