Created
March 6, 2020 17:40
-
-
Save AhmedHelalAhmed/449aefefdcb2ab1c5c6b74eea8e6cd4a to your computer and use it in GitHub Desktop.
My 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
| open .bashrc | |
| add this configurations | |
| # custom the title of the terminal | |
| PROMPT_COMMAND="printf \"\033]0;%s\007\" \"You Can Do It\"" | |
| # custom terminal symbol | |
| PS1='\[\033[1;34m\]pwd ⇒ (\w)\n' | |
| PS1=${PS1}'\[\033[1;36m\]whoami ⇒ (\u)\n' | |
| PS1=${PS1}'\[\033[1;33m\]hostname ⇒ (\h)\n' | |
| PS1=${PS1}'\[\033[1;31m\]git branch ⇒ $(__git_ps1)\n' | |
| PS1=${PS1}'\[\033[1;32m\]➜ \[\033[0m\]' | |
| #PS1='\u@\h:\w\$ ' | |
| # custom the title of the terminal | |
| export PROMPT_COMMAND="printf \"\033]0;%s\007\" \"You Can Do It\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment