-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
45 lines (32 loc) · 1.25 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
# Path to your oh-my-zsh installation.
export ZSH="${HOME}/.config/.oh-my-zsh"
export LANG=en_US.UTF-8
export UPDATE_ZSH_DAYS=7
export LC_CTYPE="en_US.UTF-8"
export PATH="${HOME}/.local/bin:${HOME}/.cargo/bin:${HOME}/go/bin:$PATH"
export BROWSER="brave"
export EDITOR="nvim"
HISTFILE=$HOME/.cache/zsh/history
ZSH_THEME="agnoster"
[ ! -f $HISTFILE ] && mkdir -p $(dirname $HISTFILE) && touch $HISTFILE
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
ENABLE_CORRECTION="true"
plugins=(git dotenv docker kubectl)
# allow those plugins only when running X11
[[ -n $DISPLAY ]] && plugins=("$plugins" zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
# pacman -S zsh-syntax-higlighting
ZSH_SYN_HIGH=/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
[ -f "$ZSH_SYN_HIGH" ] && source "$ZSH_SYN_HIGH" 2> /dev/null
# alias kubectl="sudo kubectl"
# alias kubectl="minikube kubectl --"
alias docker="sudo docker"
alias vim="nvim"
alias dotfiles="git --git-dir=${HOME}/.dotfiles/ --work-tree=${HOME}"
alias neofetch="fastfetch"
which fzf > /dev/null && source <(fzf --zsh)
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - zsh)"
bq