Created
October 17, 2017 08:18
-
-
Save ivanbogomoloff/c2741ce7ec17daa4bb689386a1fe9fc3 to your computer and use it in GitHub Desktop.
PS1 in terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1="\033[01;32m[\w]\[\033[00m\] \D{%T}\$(__git_ps1)$ " | |
//will produce [/your/directory] 11:15:34 (branchname)$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS1="[\033[01;34m]\w[\033[00m] \033[01;32m\D{%T}[\033[00m]$(__git_ps1)$ " #PS1="[\033[01;34m]\w[\033[00m] \033[01;32m\D{%T}[\033[00m]$(__git_ps1)$ "