+21
-12
.zshrc
+21
-12
.zshrc
···
1
-
export ZSH=~/.oh-my-zsh
2
-
export PATH=~/.cargo/bin/:$PATH
3
-
export PATH=~/.zig/:$PATH
4
-
export PATH=~/.local/bin:$PATH
1
+
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
2
+
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
3
+
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
4
+
source "${ZINIT_HOME}/zinit.zsh"
5
5
6
+
zinit wait lucid for \
7
+
atinit"zicompinit; zicdreplay" \
8
+
zdharma-continuum/fast-syntax-highlighting \
9
+
atload"_zsh_autosuggest_start" \
10
+
zsh-users/zsh-autosuggestions \
11
+
blockf atpull'zinit creinstall -q .' \
12
+
zsh-users/zsh-completions
6
13
14
+
zinit id-as"auto" for \
15
+
atload"bindkey -e" \
16
+
"https://github.com/belak/zsh-utils/blob/main/editor/editor.plugin.zsh" \
17
+
atload'eval "$(fzf --zsh)"' \
18
+
"https://github.com/belak/zsh-utils/blob/main/history/history.plugin.zsh" \
7
19
8
-
autoload bashcompinit
9
-
bashcompinit
10
-
source ~/.config/helix/contrib/completion/hx.zsh
11
20
12
-
ZSH_THEME="robbyrussell"
13
-
plugins=(git colorize zsh-interactive-cd rust docker-compose zsh-autosuggestions zsh-syntax-highlighting)
14
-
15
-
source $ZSH/oh-my-zsh.sh
21
+
export PATH=~/.cargo/bin/:$PATH
22
+
export PATH=~/.zig/:$PATH
23
+
export PATH=~/.local/bin:$PATH
16
24
17
25
eval "$(starship init zsh)"
18
26
eval "$(zoxide init zsh --cmd cd)"
19
-
eval "$(fzf --zsh)"
20
27
export GPG_TTY=$(tty)
21
28
export EDITOR=nvim
22
29
export MANPAGER="col -xbf | bat -p -l man"
···
31
38
32
39
33
40
alias ls="lsd"
41
+
alias l="ls -la"
42
+
alias la="ls -lA"