/
.zshrc
48 lines (40 loc) · 1.18 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
export ADOTDIR=$HOME/.local/share/antigen
source "${HOME}/.local/share/antigen.zsh"
# Select theme
#antigen theme denysdovhan/spaceship-prompt
# Load the oh-my-zsh library
antigen use oh-my-zsh
# Install oh-my-zsh plugins
antigen bundle colored-man-pages
antigen bundle command-not-found
antigen bundle docker
antigen bundle docker-compose
antigen bundle gitfast
# antigen bundle kubectl
antigen bundle pip
antigen bundle ripgrep
antigen bundle zsh-users/zsh-history-substring-search #./zsh-history-substring-search.zsh
antigen bundle zsh-users/zsh-autosuggestions #./zsh-autosuggestions.zsh
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle gesquive/zsh-completions
antigen apply
setopt HIST_IGNORE_SPACE
# remove all the crappy oh-my-zsh aliases
unalias -a
# source common definitions
if [ -f ~/.config/shell_env ]; then
source ~/.config/shell_env
fi
if [ -f ~/.config/shell_common ]; then
source ~/.config/shell_common
fi
if [ -f ~/.config/shell_aliases ]; then
source ~/.config/shell_aliases
fi
if [ -f ~/.zsh_local ]; then
source ~/.zsh_local
fi
if command -v starship >/dev/null; then
eval "$(starship init zsh)"
fi