mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-03 16:33:47 +02:00
15 files changed
+30
-30
No files matched your search
@@ -88,7 +88,7 @@ prompt_end() {
|
||||
|
||||
# Context: user@hostname (who am I and where am I)
|
||||
prompt_context() {
|
||||
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||
if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||
prompt_segment black default "%(!.%{%F{yellow}%}.)%n@%m"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user