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