-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
32 lines (25 loc) · 780 Bytes
/
.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
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
export XDG_CONFIG_HOME="$HOME/dotfiles"
plugins=(
git
kubectl
docker
docker-compose
zsh-autosuggestions
zsh-syntax-highlighting
terraform
)
ZSH_THEME='agnoster'
source $HOME/.oh-my-zsh/oh-my-zsh.sh
source $XDG_CONFIG_HOME/powerlevel10k/powerlevel10k.zsh-theme
source $XDG_CONFIG_HOME/.path.zsh
. "$HOME/.cargo/env"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f $XDG_CONFIG_HOME/.p10k.zsh ]] || source $XDG_CONFIG_HOME/.p10k.zsh
export EDITOR=nvim
alias nv=nvim
alias python=python3
alias venv="source .venv/bin/activate"
eval "$(pyenv init -)"