prompt edited
This commit is contained in:
parent
b7891f2966
commit
f748597299
@ -89,8 +89,7 @@ prompt_end() {
|
|||||||
# Context: user@hostname (who am I and where am I)
|
# Context: user@hostname (who am I and where am I)
|
||||||
prompt_context() {
|
prompt_context() {
|
||||||
if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
if [[ "$USERNAME" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||||
# prompt_segment black default "%(!.%{%F{yellow}%}.)%n@%m"
|
prompt_segment black default "%(!.%{%F{yellow}%}.)%n"
|
||||||
prompt_segment white default "%(!.%{%F{yellow}%}.)%n"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user