From 8ecd9562d1dda60ebc9fc538447f3c0ce6fd67ca Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Tue, 27 May 2025 12:22:40 -0700 Subject: [PATCH] feat: add custom zsh config this is to allow for platform-specific configuration that is not tracked by version history --- .gitignore | 1 + .zshrc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index a2f8372..fb710ff 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # `.config/git/ignore`. # This .gitignore is for this repo only. .DS_Store +.zshcustom .vscode/ .config/tmux/plugins .config/git/gpg diff --git a/.zshrc b/.zshrc index f81a9c6..4ed81b6 100644 --- a/.zshrc +++ b/.zshrc @@ -14,3 +14,9 @@ source <(fzf --zsh) if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/config.toml)" fi + +# Platform-specific configuration lives inside .zshcustom. +# The file is ignored by the dotfiles git repo. +if [ -f $HOME/.zshcustom ]; then + source $HOME/.zshcustom +fi