Skip to content

Instantly share code, notes, and snippets.

@viniciusCamargo
Last active October 13, 2016 14:50
Show Gist options
  • Save viniciusCamargo/9113fc1eac4c686b72cf97e6e03cdbd7 to your computer and use it in GitHub Desktop.
Save viniciusCamargo/9113fc1eac4c686b72cf97e6e03cdbd7 to your computer and use it in GitHub Desktop.
my terminal style
# (...)
PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \n \[\033[01;35m\]λ\[\033[01;00m\] '
# \u: Display the current username
# \h: Display the hostname
# \w : the current working directory, with $HOME abbreviated with a tilde
# \n : newline
# \[\033[01;35m\]: a color
# References:
# http://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
# http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
# https://forum.utorrent.com/topic/2524-%C2%B5-symbol-definiton-for-those-who-dont-know-the-meaning/
# https://en.wikipedia.org/wiki/Greek_alphabet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment