Skip to content

Instantly share code, notes, and snippets.

@ihrankouski
Last active June 24, 2021 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ihrankouski/47c4b4dbbbdbdba6ca3073956c214ee1 to your computer and use it in GitHub Desktop.
Save ihrankouski/47c4b4dbbbdbdba6ca3073956c214ee1 to your computer and use it in GitHub Desktop.
.bashrc
PS1='\[\e[1;32m\]\u\[\e[1;32m\]@\[\e[1;32m\]\h \[\e[1;34m\]\w\[\e[1;37m\]\[\e[1;35m\]$(__git_ps1)\n \[\e[1;30m\]└─ \[\e[1;37m\]\$\[\033[0m\] '
PS1="\[\033[38;1;33m\]\t\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;1;32m\]\u\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;1;34m\]\w\[$(tput sgr0)\]\[\e[1;35m\]$(__git_ps1) \[$(tput sgr0)\]\[\033[38;1;2m\]$(echo $STY | cut -d '.' -f 1 | xargs -I '{}' echo '<{}>')\n \[$(tput sgr0)\]\[\033[38;5;8m\]└─\[$(tput sgr0)\] \[$(tput bold)\]\\$\[$(tput sgr0)\] "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment