Skip to content

Instantly share code, notes, and snippets.

@joseche
Last active October 8, 2015 22:43
Show Gist options
  • Select an option

  • Save joseche/83ca27da8b00e40edef4 to your computer and use it in GitHub Desktop.

Select an option

Save joseche/83ca27da8b00e40edef4 to your computer and use it in GitHub Desktop.
.bashrc
# .bash_profile for login shell
# .profile for interactive shell
#
# control line:
[ -z "$BASHRC" ] || exit
# load defaults
[ -f /etc/bashrc ] && . /etc/bashrc
[ -f ~/.bash_profile ] && . ~/.bash_profile
[ -f ~/.profile ] && . ~/.profile
# load access keys
[ -f ~/.accesskeys ] && . ~/.accesskeys
complete -A hostname rsh rcp telnet rlogin ftp ping ssh
set -o notify
set -o noclobber
set -o vi
shopt -s checkwinsize
HISTCONTROL=ignoreboth:erasedups HISTSIZE=10000 HISTFILESIZE=200000
# export PATH="$PATH:$HOME/.rvm/bin"
# export PATH="$PATH:/Library/PostgreSQL/9.4/bin"
export PATH=$PATH:~/bin
export EDITOR=vim
alias ls='ls -Gh'
export PS1='\h(\w)\$ '
# at the end always:
export BASHRC=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment