aboutsummaryrefslogtreecommitdiff
path: root/dot_zshrc
blob: d83d1088903471de73d6d135154fb02f934d4f16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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