Create a gist now

Instantly share code, notes, and snippets.

@geetduggal /.bashrc
Last active Feb 10, 2017

# 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