SHARE
TWEET

/root/.bashrc

a guest May 21st, 2012 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # ~/.bashrc
  3. #
  4.  
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7.  
  8. alias ls='ls --color=auto'
  9. alias df='df -h'
  10.  
  11. echo -e '\e[1;31m';
  12. echo "  ______  _____   _____  _______";
  13. echo " |_____/ |     | |     |    |";
  14. echo " |    \_ |_____| |_____|    |";
  15. echo -e '\e[m';
  16. echo "Peace, dude! With great power comes great responsibility. Mind the beam and keep the rule: try to come in time to school."
  17.  
  18. bash_prompt() {
  19.  
  20.     local NONE="\[\033[0m\]"    # unsets color to term's fg color
  21.    
  22.     # regular colors
  23.     local K="\[\033[0;30m\]"    # black
  24.     local R="\[\033[0;31m\]"    # red
  25.     local G="\[\033[0;32m\]"    # green
  26.     local Y="\[\033[0;33m\]"    # yellow
  27.     local B="\[\033[0;34m\]"    # blue
  28.     local M="\[\033[0;35m\]"    # magenta
  29.     local C="\[\033[0;36m\]"    # cyan
  30.     local W="\[\033[0;37m\]"    # white
  31.    
  32.     # emphasized (bolded) colors
  33.     local EMK="\[\033[1;30m\]"
  34.     local EMR="\[\033[1;31m\]"
  35.     local EMG="\[\033[1;32m\]"
  36.     local EMY="\[\033[1;33m\]"
  37.     local EMB="\[\033[1;34m\]"
  38.     local EMM="\[\033[1;35m\]"
  39.     local EMC="\[\033[1;36m\]"
  40.     local EMW="\[\033[1;37m\]"
  41.    
  42.     # background colors
  43.     local BGK="\[\033[40m\]"
  44.     local BGR="\[\033[41m\]"
  45.     local BGG="\[\033[42m\]"
  46.     local BGY="\[\033[43m\]"
  47.     local BGB="\[\033[44m\]"
  48.     local BGM="\[\033[45m\]"
  49.     local BGC="\[\033[46m\]"
  50.     local BGW="\[\033[47m\]"
  51.  
  52.     #PS1='[\u@\h \W]\$ '
  53.     PS1="$EMR\u$EMC@$EMM\h$EMW:\w$EMR#${NONE} "
  54. }
  55.  
  56. bash_prompt
  57. export TMOUT="60"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top