Skip to content

Instantly share code, notes, and snippets.

@saitodev
Last active December 21, 2015 00:59
Show Gist options
  • Save saitodev/6223965 to your computer and use it in GitHub Desktop.
Save saitodev/6223965 to your computer and use it in GitHub Desktop.
export PS1="-- \[\033[0;31m\]\u@\h \[\033[1;34m\]\w \[\033[0m\]-- \n> "
alias ls='ls -hF --color=tty'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias less='less -r' # raw control characters
alias grep='grep --color' # show differences in colourx
alias ll='ls -l -A' # long list
alias la='ls -A' # all but . and ..
alias l='ls -CF' #
alias pwd='pwd -P'
alias j=jobs
alias h=history
alias x=exit
if which colordiff > /dev/null 2> /dev/null; then
alias diff='colordiff -u'
else
alias diff='diff -u'
fi
export PATH=$HOME/local/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment