Skip to content

Instantly share code, notes, and snippets.

@roberto-butti
Created February 17, 2018 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roberto-butti/852735dc8a42f11b15b9e21935adc7d4 to your computer and use it in GitHub Desktop.
Save roberto-butti/852735dc8a42f11b15b9e21935adc7d4 to your computer and use it in GitHub Desktop.
Prompt for ZShell (with hostname, username, path and git info)
PROMPT='%{$fg_bold[green]%}%n @ %{$fg_bold[white]%}%M %{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment