my colored prompt

my colored prompt on black terminals:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
PS1='\[\033[0;31m\]${debian_chroot:+($debian_chroot)}\u\[\033[1;31m\]@\[\033[0;31m\]\h\[\033[1;33m\][\t]\[\033[1;35m\]\w\n\[\033[1;32m\]\$ >\[\033[1;37m\]'
PS1='\[\033[0;31m\]${debian_chroot:+($debian_chroot)}\u\[\033[1;31m\]@\[\033[0;31m\]\h\[\033[1;33m\][\t]\[\033[1;35m\]\w\n\[\033[1;32m\]\$ >\[\033[1;37m\]'
PS1='\[\033[0;31m\]${debian_chroot:+($debian_chroot)}\u\[\033[1;31m\]@\[\033[0;31m\]\h\[\033[1;33m\][\t]\[\033[1;35m\]\w\n\[\033[1;32m\]\$ >\[\033[1;37m\]'
username@hostname[time]currentpath
$ >

Bildschirmfoto 2016-03-15 um 17.04.28

place with „export“ in ~/.bashrc (if bash is your shell)

edit 2017: have a look at liquidprompt

 

OSX Install USB-Stick: rename the label

For better overview on osx service sticks with multiple boot partitions

Changing the OSX Boot Stick Labels shown on boot on holding ALT:

  1. rename partition label to something like „osx 10.10 install“
  2. sudo bless -folder „/Volumes/osx 10.11 install“ -label „osx 10.11 install“

info: bless — set volume bootability and startup disk options