-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc
More file actions
25 lines (20 loc) · 673 Bytes
/
.zshrc
File metadata and controls
25 lines (20 loc) · 673 Bytes
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
if [ $(uname) = "Linux" ]; then
[ -r ~/.dircolors ] && eval "$(dircolors -b ~/.dircolors)"
elif [ $(uname) = "Darwin" ]; then
export CLICOLOR=1
fi
[ -f ~/.aliases ] && source ~/.aliases
export HISTFILESIZE=20000
export HISTSIZE=20000
export DOTFILES_REPO=$HOME/.dotfiles
export DOTFILES_OLD=$HOME/.dotfiles.old
if [ -d ~/.nvm ]; then
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
fi
if [ -d ~/.pyenv ]; then
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - bash)"
fi