Created
November 7, 2022 14:31
-
-
Save devenes/75faee86efae205b6419613290517a2a to your computer and use it in GitHub Desktop.
Customizing Terminal Colors
This file contains hidden or 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
# Customizing Terminal Colors | |
# | |
# export PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\$\[\033[0m\]' | |
cyan='\[\033[1;36m\]' | |
red='\[\033[1;31m\]' | |
green='\[\033[1;32m\]' | |
purple='\[\033[1;35m\]' | |
reset='\[\033[0m\]' | |
export PS1="$cyan\u$red@$green\h:$purple\w$red\$ $reset" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment