feat: add custom zsh config

this is to allow for platform-specific configuration that is not tracked
by version history
This commit is contained in:
Devin Haska 2025-05-27 12:22:40 -07:00
parent 243cfd572d
commit 8ecd9562d1
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,6 +2,7 @@
# `.config/git/ignore`.
# This .gitignore is for this repo only.
.DS_Store
.zshcustom
.vscode/
.config/tmux/plugins
.config/git/gpg

6
.zshrc
View file

@ -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