-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
34 lines (29 loc) · 890 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
33
34
eval "$(starship init zsh)"
export ZSH="$HOME/.oh-my-zsh"
plugins=(git kubectl colored-man-pages command-not-found docker)
source $ZSH/oh-my-zsh.sh
# Personal config
export LANG=en_US.UTF-8
set -o vi
bindkey '^R' history-incremental-search-backward
alias vi='nvim'
alias vim='nvim'
export PATH=~/.local/bin:~/.cargo/bin:$PATH
if [[ $( uname ) == "Darwin" ]]; then
if ! [[ -d /opt/homebrew/opt/coreutils/libexec/gnubin ]]; then
echo "Consider brew install coreutils to use GNU utils"
else
export PATH=/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH
alias ls='ls --color=auto'
fi;
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
fi
fi;
if command -v pyenv > /dev/null; then
export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init -)"
fi;