-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
37 lines (27 loc) · 1 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
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
DEFAULT_USER=$USER
COMPLETION_WAITING_DOTS="true"
plugins=(sudo git aws pip python virtualenv brew docker ssh-agent)
# User configuration
export PATH="/usr/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/sbin:/usr/bin:/sbin:/bin"
export PATH="/opt/homebrew/bin:$PATH"
export PATH="/Users/hiten/.local/bin:$PATH"
source $ZSH/oh-my-zsh.sh
export EDITOR='code'
# pip should only run if there is a virtualenv currently activated
export PIP_REQUIRE_VIRTUALENV=true
# host specific configuration
if [ -f $HOME/.myzshrc ]; then
source ~/.myzshrc
fi
unset NPM_CONFIG_PREFIX
if [ -x "$(command -v brew)" ]; then
source $(brew --prefix nvm)/nvm.sh # This loads nvm
source $(brew --prefix nvm)/etc/bash_completion.d/nvm # This loads bash_completion
fi
if [ -x "$(command -v rbenv)" ]; then
eval "$(rbenv init - zsh)"
fi
export HISTFILE="$HOME/.zsh_history"