diff options
Diffstat (limited to 'dot_zshrc.tmpl')
| -rw-r--r-- | dot_zshrc.tmpl | 15 |
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 }} |
