Add .oh-my-zsh/custom/prompt.zsh

This commit is contained in:
Felix Delattre 2023-03-09 19:41:45 +01:00
parent b6501af826
commit 073072f861

View file

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