diff options
| author | Zam Kokott <zam.kokott@bwi.de> | 2026-05-04 10:06:34 +0200 |
|---|---|---|
| committer | Zam Kokott <zam.kokott@bwi.de> | 2026-05-04 10:06:34 +0200 |
| commit | eab9bdfe94f08592a868709e71de0f9efedb22fc (patch) | |
| tree | 12a237777372c2c45c9e26f4f090ccd255e0fe4e /dot_zshrc.tmpl | |
| parent | 21d2e9b2de9161bebc205558ed0cd506cc193290 (diff) | |
Update .zshrc
Diffstat (limited to 'dot_zshrc.tmpl')
| -rw-r--r-- | dot_zshrc.tmpl | 10 |
1 files 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 |
