Skip to content

Instantly share code, notes, and snippets.

@verm666
Created June 1, 2012 15:49
Show Gist options
  • Save verm666/2853095 to your computer and use it in GitHub Desktop.
Save verm666/2853095 to your computer and use it in GitHub Desktop.
PS1='[%?]' # exit code
PS1+=' $(echo $(date "+%Y/%m/%d %H:%M"))' # date
PS1+=' %~' # current directory
PS1+=' %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' # git status
PS1+='$(echo -e "\n ➜ ")' # carriage return and prompt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment