Skip to content

Instantly share code, notes, and snippets.

@RSchulz
Created January 10, 2013 16:12
Show Gist options
  • Save RSchulz/4503288 to your computer and use it in GitHub Desktop.
Save RSchulz/4503288 to your computer and use it in GitHub Desktop.
RSchulz's .bash_profile
export >|"$HOME/.env-initial"
brewPortsPATH=(
/usr/local/bin
)
pathEntries=(
""
"$HOME/bin"
"${brewPortsPATH[@]}"
/usr/bin
/usr/sbin
/bin
/sbin
)
export PATH="$( echo -n "${pathEntries[@]}" |tr ' ' ':' )"
PATH="$( "$HOME/bin/canpath" - )"
export INPUTRC=$HOME/.inputrc
export DT="$HOME/Desktop"
export DL="$HOME/Downloads"
export MANPATH="$(man --path)"
if [ -d /usr/local/share/man ]; then
MANPATH="/usr/local/share/man:$MANPATH"
fi
. .CDPATH
umask 22
shopt -s histappend
set -o vi
source ~/.bashrc
if [ -f "$(brew --prefix)/etc/bash_completion" ]; then
source "$(brew --prefix)/etc/bash_completion"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment