Last active
January 23, 2023 18:11
-
-
Save prethiee/65c2f69cad2081dac0c9bf21d0647681 to your computer and use it in GitHub Desktop.
bash_terminal_color_encoding
This file contains 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
CYAN="\[\e[01;36m\]" | |
WHITE="\[\e[01;37m\]" | |
BLUE="\[\e[01;34m\]" | |
TEXT_RESET="\[\e[00m\]" | |
TIME="\D{%F %T} \u@\h:" | |
CURRENT_PATH="\w" | |
ROOT_OR_NOT="\$" | |
export PS1="${CYAN}[${BLUE}${TIME}${WHITE} ${CURRENT_PATH}${CYAN}]${ROOT_OR_NOT}${TEXT_RESET} " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment