diff options
| author | Zam Kokott <zam.kokott@bwi.de> | 2026-05-04 10:01:12 +0200 |
|---|---|---|
| committer | Zam Kokott <zam.kokott@bwi.de> | 2026-05-04 10:01:12 +0200 |
| commit | 21d2e9b2de9161bebc205558ed0cd506cc193290 (patch) | |
| tree | b9b3fbc8bb6c72d3f71c2d7b5df4fa6a2652173a /dot_zshrc.tmpl | |
| parent | 31ee269cabf4687c87f1c1e8d6e3374f8844023d (diff) | |
Change attributes of .zshrc
Diffstat (limited to 'dot_zshrc.tmpl')
| -rw-r--r-- | dot_zshrc.tmpl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl new file mode 100644 index 0000000..d83d108 --- /dev/null +++ b/dot_zshrc.tmpl @@ -0,0 +1,42 @@ +autoload -Uz compinit +compinit + +setopt correctall + +autoload -U promptinit +promptinit; prompt gentoo + + +zstyle ':completion::complete:*' use-cache 1 + +export HISTFILE=~/.zsh_history +export SAVEHIST=1000 +export HISTSIZE=1000 + +bindkey '^R' history-incremental-search-backward +bindkey '^r' history-incremental-pattern-search-backward + +setopt hist_ignore_space +setopt hist_ignore_dups +setopt appendhistory +unsetopt beep + +# zstyle :compinstall filename '/home/zam/.zshrc' +export EDITOR='nvim' +alias vim='nvim' +alias cd='z' +alias ls='eza --icons=always' + +export path + +type starship_zle-keymap-select >/dev/null || \ + { + eval "$(starship init zsh)" + } +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 + +fastfetch |
