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:
parent
243cfd572d
commit
8ecd9562d1
2 changed files with 7 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
||||||
# `.config/git/ignore`.
|
# `.config/git/ignore`.
|
||||||
# This .gitignore is for this repo only.
|
# This .gitignore is for this repo only.
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.zshcustom
|
||||||
.vscode/
|
.vscode/
|
||||||
.config/tmux/plugins
|
.config/tmux/plugins
|
||||||
.config/git/gpg
|
.config/git/gpg
|
||||||
|
|
6
.zshrc
6
.zshrc
|
@ -14,3 +14,9 @@ source <(fzf --zsh)
|
||||||
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
||||||
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/config.toml)"
|
eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/config.toml)"
|
||||||
fi
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue