Skip to content

Instantly share code, notes, and snippets.

@fabiomontefuscolo
Created December 3, 2019 17:50
Show Gist options
  • Save fabiomontefuscolo/0da427f69b77b73093089269d2509550 to your computer and use it in GitHub Desktop.
Save fabiomontefuscolo/0da427f69b77b73093089269d2509550 to your computer and use it in GitHub Desktop.
.bashrc
# .bashrc
shopt -s histappend
export HISTCONTROL=ignoreboth
export HISTTIMEFORMAT='%F %T '
export PROMPT_COMMAND="history -a;${PROMPT_COMMAND}"
export GLOBIGNORE="${GLOBIGNORE-'.:..'}"
export EDITOR=vim
export SYSTEMD_PAGER=cat
# Source global definitions
if [ -f /etc/bashrc ];
then
. /etc/bashrc
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment