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
1 changed files with 6 additions and 0 deletions

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
}