-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathantigen.zshrc
39 lines (31 loc) · 1.09 KB
/
antigen.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
# the example `~/.zshrc` for jovial + antigen
#
# curl -SL https://github.com/zthxxx/jovial/raw/master/antigen.zshrc >> ~/.zshrc
#
# [Antigen](https://github.com/zsh-users/antigen),
# a theme/plugin manager for zsh that uses simple declarative configuration.
# install antigen if not exists
if [[ ! -f ~/.antigen/antigen.zsh ]]; then
set -e
echo "Antigen not installed, downloading..."
mkdir -p ~/.antigen
curl -SL https://github.com/zsh-users/antigen/raw/develop/bin/antigen.zsh -o ~/.antigen/antigen.zsh
set +e
fi
# Load Antigen
source ~/.antigen/antigen.zsh
# Basic recommended for antigen
antigen use oh-my-zsh
antigen bundle git
antigen bundle autojump
antigen bundle colored-man-pages
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the Jovial theme and plugins
antigen theme zthxxx/jovial
antigen bundle zthxxx/jovial
antigen bundle zthxxx/zsh-history-enquirer
# Any other plugins needs set before `antigen apply`
# After all, tell Antigen that you're done, then antigen will start
antigen apply