mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Merge d388912e10 into 7034b01cd1
This commit is contained in:
commit
12f3140747
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ prompt_end() {
|
|||
|
||||
# Context: user@hostname (who am I and where am I)
|
||||
prompt_context() {
|
||||
local user=`whoami`
|
||||
local user="$(whoami)"
|
||||
|
||||
if [[ "$user" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||
prompt_segment black default "%(!.%{%F{yellow}%}.)$user@%m"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue