-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbashrc
More file actions
executable file
·36 lines (27 loc) · 924 Bytes
/
bashrc
File metadata and controls
executable file
·36 lines (27 loc) · 924 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
26
27
28
29
30
31
32
33
34
35
36
[ -z "$PS1" ] && return
export DOTFILES_PATH=~/dotfiles/
## LOAD SCRIPTS
source $DOTFILES_PATH/bash/variables.sh
source $DOTFILES_PATH/bash/setup_terminal.sh
source $DOTFILES_PATH/bash/aliases.sh
source $DOTFILES_PATH/bash/functions.sh
if [ "$TERM" != "cygwin" ]; then
source $DOTFILES_PATH/bash/colors.sh
[[ -s "$HOME/.nvm/nvm.sh" ]] && . "$HOME/.nvm/nvm.sh"
nvm use default
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
source ~/.chruby-default-gems/chruby-default-gems.sh
export DEFAULT_GEMFILE="$DOTFILES_PATH/Gemfile"
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
fi # cygwin
# source .local_variables if present
if [ -f $HOME/.local_variables ]; then
source $HOME/.local_variables
fi
source $DOTFILES_PATH/bash/h.sh
export PATH="$PATH:$DOTFILES_PATH/bin"