Skip to content

Instantly share code, notes, and snippets.

@bill-transue
Created February 15, 2013 18:54
Show Gist options
  • Save bill-transue/4962477 to your computer and use it in GitHub Desktop.
Save bill-transue/4962477 to your computer and use it in GitHub Desktop.
.bash_profile to override read-only TMOUT variable
if [ ! -z "$TMOUT" ]; then
env -i bash --init-file ~/.bash_profile
fi
# .bash_profile
export SHELL='/bin/bash'
export HOME='/home/bill.transue'
# git bash prompt
export PS1='\u@\h:\W$(__git_ps1 " (\[\033[32m\]%s\[\033[m\])")$ '
alias top='top -F -R -o cpu'
alias screen='export SCREENPWD=$(pwd); /usr/bin/screen'
alias vi='vim'
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
export TERM=xterm-256color # for common 256 color terminals (e.g. gnome-terminal)
eval `dircolors ~/.dircolors/dircolors.256dark`
alias ll='ls -l --color=auto' 2>/dev/null
alias l.='ls -d .* --color=auto' 2>/dev/null
alias ls='ls --color=auto' 2>/dev/null
# User specific environment and startup programs
PATH=$HOME/bin:$HOME/.rvm/bin:$PATH
export PATH
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias simp_tun='nohup ssh -fND 1080 -L 2000:git.simp.dev:22 onyxpoint'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment