Update 05.04.2026
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# To customize symbols (e.g MLH_AT_SYMBOL), simply set them as environment variables
|
||||
# for example in your ~/.zshrc file, like this:
|
||||
# MLH_AT_SYMBOL=" at "
|
||||
#
|
||||
#
|
||||
# Settings *must* be set before sourcing oh-my-zsh.sh the .zshrc file.
|
||||
#
|
||||
# To easily discover colors and their codes, type `spectrum_ls` in the terminal
|
||||
@@ -47,6 +47,10 @@ if [ -z "$MLH_SHELL_SYMBOL" ]; then
|
||||
MLH_SHELL_SYMBOL="$ "
|
||||
fi
|
||||
|
||||
if [ -z "$MLH_SHELL_SYMBOL_ROOT" ]; then
|
||||
MLH_SHELL_SYMBOL_ROOT="# "
|
||||
fi
|
||||
|
||||
# colors
|
||||
USER_COLOR="%F{001}"
|
||||
DEVICE_COLOR="%F{033}"
|
||||
@@ -83,7 +87,11 @@ exit_code() {
|
||||
}
|
||||
|
||||
prompt_end() {
|
||||
printf "\n$MLH_SHELL_SYMBOL"
|
||||
if [ "$UID" -eq 0 ]; then
|
||||
printf "\n$MLH_SHELL_SYMBOL_ROOT"
|
||||
else
|
||||
printf "\n$MLH_SHELL_SYMBOL"
|
||||
fi
|
||||
}
|
||||
|
||||
# Set git_prompt_info text
|
||||
|
||||
Reference in New Issue
Block a user