-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
32 lines (23 loc) · 781 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
export PATH=$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
DISABLE_UPDATE_PROMPT=true
DISABLE_AUTO_UPDATE=true
ZSH_TMUX_AUTOSTART=true
ZSH_THEME="robbyrussell"
plugins=(git tmux zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
if [ -f "$HOME/.extras.zsh" ]; then
source "$HOME/.extras.zsh"
fi
alias ls="eza --long --header --git --all"
alias b="bat -p"
alias vim="nvim"
alias vi="nvim"
export TERM="xterm-256color"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
if [ "$TMUX" = "" ]; then tmux -2; fi
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"