
|
My Prompt21:50:39|mario@floris:/data 0 $ Ok now your wondering why I want to blog this, well... The clock in front is blue because I like blue Then the user@server:/path is handy if you use scp scp file1 user@server:/path/where/I/am/like/pwd
the green zero behind is variable The prompt: (just copy/past in your bash console) PS1='\[\e[34m\]\t\[\e[0m\]|\u@\h:\w `if [[ $? = 0 ]]; then echo '\''\[\e[32m\]\j\[\e[0m\]'\''; else echo '\''\[\e[31m\]\j\[\e[0m\]'\'' ; fi` \$ '
|