From 5984d43664ccdc10ae41ab5cf0b3e9a0f0dd6ce7 Mon Sep 17 00:00:00 2001 From: Zam Kokott Date: Fri, 5 Jun 2026 10:51:12 +0000 Subject: update nvim --- dot_zshrc.tmpl | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'dot_zshrc.tmpl') 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 }} -- cgit 1.3.1