From eab9bdfe94f08592a868709e71de0f9efedb22fc Mon Sep 17 00:00:00 2001 From: Zam Kokott Date: Mon, 4 May 2026 10:06:34 +0200 Subject: [PATCH] Update .zshrc --- dot_zshrc.tmpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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