Last active
January 11, 2017 11:36
-
-
Save Kein1945/345d4222536dc75e457a to your computer and use it in GitHub Desktop.
Bashrc script for remote working
This file contains 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
# Usage | |
# $ source /dev/stdin < <(curl url.this.bashrc) | |
PS1=$'\[\033]0;\u:${PWD##*/}\007\]' | |
PS1+=$'\[\e[0;32m\]\u\[\e[m\]\[\e[0;32m\]@\H\[\e[m\] \[\e[0;30;42m\] [home +\j] \[\e[m\]' | |
PS1+=$'\n\[\e[0;34m\]\w\[\e[m\] \[\e[0;32m\]\xe2\x98\x85\[\e[m\] \[\e[0;37m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment