-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
62 lines (48 loc) · 1.52 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
51
52
53
54
55
56
57
58
59
60
61
62
# You may need to manually set your language environment
export LANG=en_US.UTF-8
export EDITOR='vim'
antigen_script=~/antigen/antigen.zsh
# Antigen configuration
if [[ ! -a ${antigen_script} ]]; then
# Download the antigen script if it doesn't exist.
git clone https://github.com/zsh-users/antigen.git ~/antigen
fi
source "${antigen_script}"
antigen use oh-my-zsh
# Install a list of antigen bundles
antigen bundles <<EOBUNDLES
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-completions
# Due to bug: https://github.com/zsh-users/zsh-autosuggestions/issues/296
zsh-users/[email protected]
git
git-prompt
autojump
terraform
# Package managers
mvn
yum
debian
# Python bundles
pip
esc/conda-zsh-completion
# Rust bundles
rust
cargo
# Golang bundles
golang
# Custom aliases
lnunno/dotfiles alias.d
EOBUNDLES
# Set the antigen theme
antigen theme lnunno/dotfiles zsh-themes/lucas
# Apply all Antigen configuration
antigen apply
# Source local configurations. Use this to setup machine specific PATH, GOPATH, etc.
[ -f ~/.zshrc-local ] && source ~/.zshrc-local
[ -f virtualenvwrapper.sh ] && source virtualenvwrapper.sh
[ -f /etc/profile.d/autojump.sh ] && . /etc/profile.d/autojump.sh
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
[ -f /usr/share/autojump/autojump.sh ] && . /usr/share/autojump/autojump.sh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -s /usr/share/doc/fzf/examples/key-bindings.zsh ] && . /usr/share/doc/fzf/examples/key-bindings.zsh