Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2012
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. #############################
  2. # #
  3. # customization #
  4. # ************* #
  5. # c. 2012.02.01 #
  6. #############################
  7.  
  8.  
  9. ######PROMPT:######################
  10. PS1='\[\e[0;34m\]\D{%Y.%m.%d,%T}\[\e[0m\]\n\[\e[1;32m\][\u@\H]:\[\e[0m\]\[\e[1;35m\]\w\$ \[\e[0;32m\]'
  11. trap 'echo -ne "\e[0m"' DEBUG
  12.  
  13. #for use on OpenWRT system:
  14. # PS1='\[\e[0;34m\]$(PS1='\[\e[0;34m\]$(date +%y.%m.%d), $(date +%H:%M:%S)\[\e[0m\]\n\[\e[1;32m\][\u@\h]:[\e[0m\]\[\e[1;35m\]\w\$ \[\e[0m\]'\]\[\e1;35m\]\w\$ \[\e[0;32m\]'
  15.  
  16. #NOTE:avoid hidden newlines and/or carriage returns caused by pastebin!
  17. #Paste this into your text editor first, especially if pasting
  18. #the above PS1= line into a remote command buffer! It's all one line!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement