Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# bash completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
source $(brew --prefix)/etc/bash_completion
fi

bind '"\e[A": history-search-backward'
Expand All @@ -13,13 +13,6 @@ bind '"\e[B": history-search-forward'
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups

# bash auto-completion
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'

# enable colored output from ls, etc
export CLICOLOR=1

Expand All @@ -43,9 +36,9 @@ export PATH="/usr/local/pgsql/bin:$PATH"
export PATH="$HOME/.bin:$PATH"

# CHRUBY
if [ -d "/usr/local/share/chruby" ]; then
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
if [ -d "/usr/local/opt/chruby" ]; then
source /usr/local/opt/chruby/share/chruby/chruby.sh
source /usr/local/opt/chruby/share/chruby/auto.sh

# RBENV
elif [ -d "$HOME/.rbenv" ]; then
Expand Down