-
Notifications
You must be signed in to change notification settings - Fork 4
/
.zshrc
47 lines (38 loc) · 1.05 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
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
ZSH=/usr/share/oh-my-zsh/
DISABLE_AUTO_UPDATE="true"
DISABLE_LS_COLORS="true"
plugins=(
ansible
sudo
colored-man-pages
docker
docker-compose
pip
systemd
virtualenvwrapper
kubectl
kubectx
helm
)
export EDITOR="nvim"
export FZF_DEFAULT_COMMAND='rg --files --hidden -g "!.git" '
export BAT_THEME="Nord"
export QT_QPA_PLATFORMTHEME="qt5ct"
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR
fi
source ~/dotfiles/aliases.zsh
source $ZSH/oh-my-zsh.sh
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
[[ -f ~/.SERVER_ENV ]] && source ~/.SERVER_ENV
python ~/dotfiles/colored.py
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/bin/terraform terraform