Skip to content

Instantly share code, notes, and snippets.

@arnabdas
Created February 14, 2017 16:13
Show Gist options
  • Save arnabdas/c9d8bfbc39ddce3a0e172e87c4fe1858 to your computer and use it in GitHub Desktop.
Save arnabdas/c9d8bfbc39ddce3a0e172e87c4fe1858 to your computer and use it in GitHub Desktop.
PS1 variable for ZSH
# http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html
PS1=$'\n$(git_prompt_info)%{$fg[cyan]%}%/\n${ret_status}%{$reset_color%}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment