-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.bashrc
26 lines (20 loc) · 870 Bytes
/
.bashrc
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
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
bind 'set bind-tty-special-chars off'
bind '"\ep": history-search-backward'
bind '"\en": history-search-forward'
bind '"\C-w": backward-kill-word'
stty -ixon
[ ! -f "$HOME/.bash_env" ] || source "$HOME/.bash_env"
[ ! -f "$HOME/.bash_env.local" ] || source "$HOME/.bash_env.local"
[ ! -f "$HOME/.bash_aliases" ] || source "$HOME/.bash_aliases"
[ ! -f "$HOME/.bash_functions" ] || source "$HOME/.bash_functions"
[ ! -f "$(brew --prefix)/etc/profile.d/bash_completion.sh" ] || source "$(brew --prefix)/etc/profile.d/bash_completion.sh"
[ ! -f "$HOME/.iterm2_shell_integration.bash" ] || source "$HOME/.iterm2_shell_integration.bash"
# define the sd function
source '/Users/ryland/code/github/sd/sd'
# rbenv
eval "$(rbenv init -)"
# nvm
export NVM_DIR=~/.nvm
source "/usr/local/opt/nvm/nvm.sh"