Skip to content

Instantly share code, notes, and snippets.

@AhmedHelalAhmed
Created March 6, 2020 17:40
Show Gist options
  • Select an option

  • Save AhmedHelalAhmed/449aefefdcb2ab1c5c6b74eea8e6cd4a to your computer and use it in GitHub Desktop.

Select an option

Save AhmedHelalAhmed/449aefefdcb2ab1c5c6b74eea8e6cd4a to your computer and use it in GitHub Desktop.
My Terminal
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