alias ls='ls --color=auto' alias ll='ls --color=auto -lhatrF' #PS1='[\u@\h \W]\$ ' PS1='\[\e[0;32m\]\u@\h\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$ \[\e[m\]\[\e[1;37m\] ' alias memhogs="ps -A -ao rss,comm | sort -rn | sed -n '1,5{s/^//;s/ /\t/p}'" function git_diff() { git diff --no-ext-diff -w "$@" | vim -R - } export EDITOR=/usr/bin/vim export PAGER=/usr/bin/most export MANPAGER=/usr/bin/most GT_RESET=$( tput sgr0) # Reset all attributes GT_BRIGHT=$( tput bold) # Set “bright” attribute GT_DIM=$( tput dim) # Set “dim” attribute # The next line is problematic on some of my systems, so I have it commented out. #GT_UBAR=$( tput set smul unset rmul) # smul unset rmul :?: Set “underscore” (underlined text) attribute GT_BLINK=$( tput blink) # Set “blink” attribute GT_REVERSE=$( tput rev) # Set “reverse” attribute GT_HIDDEN=$( tput invis) # Set “hidden” attribute FG_BLACK=$( tput setaf 0) #foreground to color #0 - black FG_RED=$( tput setaf 1) #foreground to color #1 - red FG_GREEN=$( tput setaf 2) #foreground to color #2 - green FG_YELLOW=$( tput setaf 3) #foreground to color #3 - yellow FG_BLUE=$( tput setaf 4) #foreground to color #4 - blue FG_MAGENTA=$( tput setaf 5) #foreground to color #5 - magenta FG_CYAN=$( tput setaf 6) #foreground to color #6 - cyan FG_WHITE=$( tput setaf 7) #foreground to color #7 - white FG_DEFAULT=$( tput setaf 9) #default foreground color BG_BLACK=$( tput setaf 0) #background to color #0 - black BG_RED=$( tput setaf 1) #background to color #1 - red BG_GREEN=$( tput setaf 2) #background to color #2 - green BG_YELLOW=$( tput setaf 3) #background to color #3 - yellow BG_BLUE=$( tput setaf 4) #background to color #4 - blue BG_MAGENTA=$( tput setaf 5) #background to color #5 - magenta BG_CYAN=$( tput setaf 6) #background to color #6 - cyan BG_WHITE=$( tput setaf 7) #background to color #7 - white BG_DEFAULT=$( tput setaf 9) #default background color