-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
50 lines (38 loc) · 1.01 KB
/
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
46
47
48
49
50
if [[ "$TERM" == "dumb" ]]; then
return
fi
# source /usr/share/zsh/share/antigen.zsh
source ~/.antigen/antigen/antigen.zsh
# Load the oh-my-zsh's library.
antigen use oh-my-zsh
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle git
antigen bundle rust
antigen bundle pip
antigen bundle dotnet
antigen bundle docker
antigen bundle command-not-found
antigen bundle colored-man-pages
antigen bundle z
# config for z
export _Z_DATA=$HOME/.local/share/z/data
antigen bundle esc/conda-zsh-completion
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
if command -v starship >/dev/null; then
eval "$(starship init zsh)"
else
# Load the theme.
antigen theme refined
fi
# Tell Antigen that you're done.
antigen apply
setopt nomultios
if which bat >/dev/null; then
export BAT_STYLE=plain
alias cat=bat
fi
# emacsclient
alias ec='emacsclient -ca ""'
export PATH="$HOME/.config/yarn/global/node_modules/.bin:$PATH"