Skip to content

Instantly share code, notes, and snippets.

@Kein1945
Last active January 11, 2017 11:36
Show Gist options
  • Save Kein1945/345d4222536dc75e457a to your computer and use it in GitHub Desktop.
Save Kein1945/345d4222536dc75e457a to your computer and use it in GitHub Desktop.
Bashrc script for remote working
# 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