Add .oh-my-zsh/custom/prompt.zsh
This commit is contained in:
parent
b6501af826
commit
073072f861
|
@ -0,0 +1,6 @@
|
||||||
|
# removes user@hostname from agnoster prompt
|
||||||
|
prompt_context() {
|
||||||
|
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||||
|
prompt_segment black default "%(!.%{%F{yellow}%}.)"
|
||||||
|
fi
|
||||||
|
}
|
Loading…
Reference in New Issue