Skip to content

Instantly share code, notes, and snippets.

View Neocky's full-sized avatar
🦕

Neocky

🦕
  • Germany
  • 17:41 (UTC +02:00)
View GitHub Profile
@Neocky
Neocky / Linux-colored-shell.md
Last active February 10, 2023 00:04
Linux Colored Shell

Linux Colored Shell

Color scheme based of One Dark Pro

image

How to

  1. Open file: nano ~/.bashrc
  2. Add to end of file:
PS1="\[$(tput bold)\]\[\033[38;5;9m\]\u\[$(tput sgr0)\]\[\033[38;5;7m\]@\[$(tput bold)\]\[\033[38;5;171m\]\H\[$(tput sgr0)\]\[\033[38;5;7m\]:\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;41m\]\w\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]"