Skip to content

Instantly share code, notes, and snippets.

@geetduggal
Last active February 10, 2017 22:24
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 geetduggal/830cda2cf406601833fce50dacbf54a5 to your computer and use it in GitHub Desktop.
Save geetduggal/830cda2cf406601833fce50dacbf54a5 to your computer and use it in GitHub Desktop.
# Append to new system bashrc
# curl https://gist.githubusercontent.com/geetduggal/830cda2cf406601833fce50dacbf54a5/raw >> ~/.bashrc
# A more VI experience within bash
export EDITOR=vi
set -o vi
# Allow grep to preserve colors even when piping into less
alias grep='grep --color=always'
alias less='less -r'
alias ls='ls --color'
export PS1='\[\e[1;36m\]\d \[\e[1;32m\]\t \[\e[1;33m\]\u@\[\e[1;35m\]\h:\W\$\[\e[m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment