Skip to content

Instantly share code, notes, and snippets.

@superacidjax
Created September 25, 2012 14:27
Show Gist options
  • Select an option

  • Save superacidjax/3782260 to your computer and use it in GitHub Desktop.

Select an option

Save superacidjax/3782260 to your computer and use it in GitHub Desktop.
source "$HOME/.hashrc"
# Store 10,000 history entries
export HISTSIZE=10000
# Don't store duplicates
export HISTCONTROL=erasedups
# Append to history file
shopt -s histappend
VISUAL=vim
EDITOR="$VISUAL"
LESS="FRX"
RI="--format ansi -T"
PSQL_EDITOR='vim -c"setf sql"'
CLICOLOR=1
LSCOLORS=gxgxcxdxbxegedabagacad
export VISUAL EDITOR LESS RI PSQL_EDITOR CLICOLOR LSCOLORS
bind 'set bind-tty-special-chars off'
bind '"\ep": history-search-backward'
bind '"\en": history-search-forward'
bind '"\C-w": backward-kill-word'
export HISTIGNORE="%*"
bind '"\C-q": "%-\n"'
[ -z "$PS1" ] || stty -ixon
[ -z "$PS1" ] || export PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$(git_prompt_info '(%s)')$ "
[ ! -f "$HOME/.bashrc.local" ] || . "$HOME/.bashrc.local"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment