Skip to content

Instantly share code, notes, and snippets.

@fgbytes
Created January 24, 2020 09:00
Show Gist options
  • Save fgbytes/f417478fecd68b09e2ab474d3556745b to your computer and use it in GitHub Desktop.
Save fgbytes/f417478fecd68b09e2ab474d3556745b to your computer and use it in GitHub Desktop.
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
prompt_segment black default "%(!.%{%F{yellow}%}.)👉"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment