This commit is contained in:
Hyeon Kim 2014-11-06 17:44:00 +00:00
commit 12f3140747

View file

@ -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"