aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl10
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