Changes

Jump to navigation Jump to search
Line 51: Line 51:  
}
 
}
 
PS1=\[\033[01;31m\]\t \[\033[01;32m\]durrantm \[\033[02;36m\]\h \[\033[01;34m\]`pwd | sed "s#\(/[^/]\{1,\}/[^/]\{1,\}/[^/]\{1,\}/\).*\(/[^/]\{1,\}/[^/]\{1,\}\)/\{0,1\}#\1_\2#g"` \[\033[00;33m\]$(git_branch)\[\033[00m\]\n\$ </source>
 
PS1=\[\033[01;31m\]\t \[\033[01;32m\]durrantm \[\033[02;36m\]\h \[\033[01;34m\]`pwd | sed "s#\(/[^/]\{1,\}/[^/]\{1,\}/[^/]\{1,\}/\).*\(/[^/]\{1,\}/[^/]\{1,\}\)/\{0,1\}#\1_\2#g"` \[\033[00;33m\]$(git_branch)\[\033[00m\]\n\$ </source>
 +
 +
<source lang="bash">PS1='\[\033[01;31m\]\t $(git_branch)\n\[\033[01;32m\]\u@\[\033[02;36m\]\h \[\033[01;34m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '</source>
    
== Green prompt with timestamp ==
 
== Green prompt with timestamp ==

Navigation menu