diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index d83d108..b6ffeee 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -4,8 +4,11 @@ compinit setopt correctall autoload -U promptinit -promptinit; prompt gentoo +promptinit +{{ if eq .chezmoi.hostname "gentoo" }} +prompt gentoo +{{ end }} zstyle ':completion::complete:*' use-cache 1 @@ -21,7 +24,6 @@ setopt hist_ignore_dups setopt appendhistory unsetopt beep -# zstyle :compinstall filename '/home/zam/.zshrc' export EDITOR='nvim' alias vim='nvim' alias cd='z' @@ -29,6 +31,7 @@ alias ls='eza --icons=always' export path +{{ if eq .chezmoi.hostname "gentoo" }} type starship_zle-keymap-select >/dev/null || \ { eval "$(starship init zsh)" @@ -38,5 +41,8 @@ eval "$(direnv hook zsh)" source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh +{{ else if eq .chezmoi.os "darwin" }} + +{{ end }} fastfetch