-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
45 lines (33 loc) · 757 Bytes
/
.zshrc
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
43
44
45
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.cargo/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=20000
# ops
setopt autocd
setopt notify
# hist
setopt hist_ignore_dups
setopt hist_ignore_space
setopt hist_verify
setopt share_history
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
autoload -Uz _zinit
alias s="kitty +kitten ssh" # eh
alias sudo=doas
alias ls=exa
alias v=nvim
zinit wait lucid light-mode for \
zsh-users/zsh-completions \
zsh-users/zsh-autosuggestions \
zdharma-continuum/fast-syntax-highlighting \
OMZP::fzf \
OMZP::zsh-interactive-cd
eval "$(starship init zsh)"