aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc.tmpl
diff options
context:
space:
mode:
authorZam Kokott <zam.kokott@bwi.de>2026-06-05 10:51:12 +0000
committerZam Kokott <zam.kokott@bwi.de>2026-06-05 10:51:12 +0000
commit5984d43664ccdc10ae41ab5cf0b3e9a0f0dd6ce7 (patch)
tree07378b23a9e5c0735566a790355846146d58b7eb /dot_zshrc.tmpl
parent52369a36f5e05ebb950dc7da6016e24e5d1ffc85 (diff)
update nvim
Diffstat (limited to 'dot_zshrc.tmpl')
-rw-r--r--dot_zshrc.tmpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
index 299002a..c5dd477 100644
--- a/dot_zshrc.tmpl
+++ b/dot_zshrc.tmpl
@@ -1,6 +1,9 @@
-
# Auto generated by chezmoi
+{{ if eq .chezmoi.hostname "ubuntu" }}
+if [ "$TMUX" = "" ]; then tmux new-session -A -s default; fi
+{{ end }}
+
autoload -Uz compinit
compinit
@@ -35,6 +38,9 @@ alias ls='eza --icons=always'
{{ if eq .chezmoi.os "darwin" }}
PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
export PATH
+{{ else if eq .chezmoi.hostname "ubuntu" }}
+path+=("/home/ubuntu/nvim-linux-x86_64/bin")
+export PATH
{{ end }}
source <(chezmoi completion zsh)
@@ -55,6 +61,13 @@ source <(kubectl completion zsh)
source <(kubebuilder completion zsh)
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
+{{ else if eq .chezmoi.hostname "ubuntu" }}
+
+eval "$(direnv hook zsh)"
+source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
+
{{ end }}
+{{ if ne .chezmoi.hostname "ubuntu"}}
fastfetch
+{{ end }}