From b62bbe4ca06a77dd693b3bbc985f42f2c3c22edc Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Mon, 9 Feb 2026 15:31:47 -0600 Subject: ensure /tank is only mounted on linux --- zsh/.zshrc | 6 ++++-- 1 file 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" -- cgit v1.2.3