Skip to content

Instantly share code, notes, and snippets.

@jjmontesl
Created June 28, 2021 10:01
Show Gist options
  • Save jjmontesl/faecd439f5d06412164f3f48c594b739 to your computer and use it in GitHub Desktop.
Save jjmontesl/faecd439f5d06412164f3f48c594b739 to your computer and use it in GitHub Desktop.
My custom bashrc settings.
# Custom settings (J)
PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[01;32m\]$(__git_ps1 " (%s)")\[\033[00m\]\$ '
alias grep='grep --color'
alias egrep='grep --color'
alias fgrep='grep --color'
shopt -s histappend
#export PROMPT_COMMAND="$PROMPT_COMMAND ; history -a " # ; history -c ; history -r
export HISTFILESIZE=3000
export HISTSIZE=3000
export HISTCONTROL=ignoredups:erasedups
#export CDPATH=$CDPATH:~/git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment