Created
May 14, 2014 13:14
-
-
Save JerryFleming/81a0ca04d2cdbeca6e13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='\[\033]0;\u@\h: \w\007\]' | |
if [[ ${EUID} == 0 ]] ; then | |
PS1=$PS1'\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' | |
else | |
PS1=$PS1'\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' | |
fi | |
export HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S ' | |
export HISTSIZE=10000 | |
export HISTIGNORE="&:clear:exit" | |
export HISTCONTROL=ignoreboth:erasedups | |
shopt -s histappend | |
# For colourful man pages (CLUG-Wiki style) | |
export LESS_TERMCAP_mb=$'\E[01;31m' | |
export LESS_TERMCAP_md=$'\E[01;31m' | |
export LESS_TERMCAP_me=$'\E[0m' | |
export LESS_TERMCAP_se=$'\E[0m' | |
export LESS_TERMCAP_so=$'\E[01;44;33m' | |
export LESS_TERMCAP_ue=$'\E[0m' | |
export LESS_TERMCAP_us=$'\E[01;32m' | |
#export LESSCHARSET=utf-8 | |
export GREP_OPTIONS='--color=auto' | |
export GREP_OPTIONS='--color=auto' | |
export PYTHONSTARTUP=/etc/pyrc | |
alias ls="ls --color=auto" | |
alias cp="cp -i" | |
alias rm='rm -i' | |
#alias info='pinfo' | |
alias ll='ls -lG' | |
alias lh='ls -lGh' | |
alias la='ls -AG' | |
alias l='ls -CFG' | |
alias wget='wget -c' | |
alias psc='ps xawf -eo pid,user,cgroup,args' | |
alias rsync='rsync -8' | |
export PAGER='less -S' | |
export EDITOR='vim' | |
bind '"\C-xu": kill-whole-line' | |
bind '"\e%": vi-match' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment