Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #############################
- # #
- # customization #
- # ************* #
- # c. 2012.02.01 #
- #############################
- ######PROMPT:######################
- 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\]'
- trap 'echo -ne "\e[0m"' DEBUG
- #for use on OpenWRT system:
- # 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\]'
- #NOTE:avoid hidden newlines and/or carriage returns caused by pastebin!
- #Paste this into your text editor first, especially if pasting
- #the above PS1= line into a remote command buffer! It's all one line!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement