Create a gist now

Instantly share code, notes, and snippets.

@geetduggal /.bashrc
Last active Feb 10, 2017

What would you like to do?
# Append to new system bashrc
# curl >> ~/.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