summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-02-09 15:31:47 -0600
committerChristian Cleberg <[email protected]>2026-02-09 15:31:47 -0600
commitb62bbe4ca06a77dd693b3bbc985f42f2c3c22edc (patch)
treebd539caef7cd6d714b819dbf002d95740cb8960c
parentb5aac005662828e269d8307dc326760022ea4dfb (diff)
downloaddotfiles-b62bbe4ca06a77dd693b3bbc985f42f2c3c22edc.tar.gz
dotfiles-b62bbe4ca06a77dd693b3bbc985f42f2c3c22edc.tar.bz2
dotfiles-b62bbe4ca06a77dd693b3bbc985f42f2c3c22edc.zip
ensure /tank is only mounted on linux
-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"