Advertisement
Guest User

Untitled

a guest
Aug 1st, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. altoidnerd@lepton:~ --> cat .bashrc | igrep color
  2. # set a fancy prompt (non-color, unless we know we "want" color)
  3.     xterm-color) color_prompt=yes;;
  4. # uncomment for a colored prompt, if the terminal has the capability; turned
  5. #force_color_prompt=yes
  6. if [ -n "$force_color_prompt" ]; then
  7.         # We have color support; assume it's compliant with Ecma-48
  8.         color_prompt=yes
  9.         color_prompt=
  10. if [ -x /usr/bin/dircolors ]; then
  11.     test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
  12.         alias ls='ls --color'
  13.         LS_COLORS='di=96:fi=0:ln=33:pi=5:so=5:bd=5:cd=5:or=37:mi=0:ex=92:*.rpm=90'
  14.         export LS_COLORS
  15.                 ##      See color codes file .codes     ##
  16.                 alias grep='grep --color=auto'
  17.                 alias fgrep='fgrep --color=auto'
  18.                 alias egrep='egrep --color=auto'
  19.                 # colorized cat
  20. # colored man pages, very nice
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement