aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot_zshrc.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index c5dd477..7ea377a 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -35,7 +35,10 @@ alias vim='nvim'
alias cd='z'
alias ls='eza --icons=always'
-{{ if eq .chezmoi.os "darwin" }}
+{{ if eq .chezmoi.hostname "gentoo" }}
+path+=("/home/pablu/.cargo/bin")
+export PATH
+{{ else if eq .chezmoi.os "darwin" }}
PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
export PATH
{{ else if eq .chezmoi.hostname "ubuntu" }}
@@ -52,6 +55,7 @@ eval "$(zoxide init zsh)"
eval "$(direnv hook zsh)"
source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh
source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh
+source <(COMPLETE=zsh jj)
{{ else if eq .chezmoi.os "darwin" }}