forked from hmans/homedir-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_profile
38 lines (27 loc) · 883 Bytes
/
.bash_profile
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
38
#!/bin/bash
# Load RVM, if you are using it
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
# Expand PATH
export PATH=$HOME/bin:/usr/local/bin:/usr/local/sbin:$PATH
# Path to the bash it configuration
export BASH=$HOME/.bash_it
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_THEME='bobby'
# Set my editor and git editor
export EDITOR="/usr/bin/env subl"
export GIT_EDITOR='/usr/bin/env subl -w -n'
# Don't check mail when opening terminal.
unset MAILCHECK
# Load Bash It
[ -d "$BASH" ] && source $BASH/bash_it.sh
# My aliases
alias be="bundle exec"
# Add bash completion for homebrew installed packages
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# Add path to development version of rbfu
export PATH="$HOME/src/rbfu/bin:$PATH"
# Initialize rbfu
eval "$(rbfu --init --auto)"