Skip to content

Instantly share code, notes, and snippets.

@kdheepak
Created April 19, 2017 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kdheepak/c8aecf7bfddf5685dfdd57cd09142516 to your computer and use it in GitHub Desktop.
Save kdheepak/c8aecf7bfddf5685dfdd57cd09142516 to your computer and use it in GitHub Desktop.
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# set -o errexit
# set -o pipefail
# set -o nounset
shopt -s histappend
HISTFILESIZE=1000000
HISTSIZE=1000000
HISTCONTROL=ignoreboth:ignoredups:erasedups
HISTIGNORE='ls:bg:fg:history:cat'
HISTTIMEFORMAT='%F %T '
shopt -s cmdhist
PROMPT_COMMAND='history -a'
bind 'set show-all-if-ambiguous on'
bind 'set completion-ignore-case on'
bind 'TAB:menu-complete'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment