RailsCasts Pro episodes are now free!

Learn more or hide this

Ryan Dlugosz's Profile

GitHub User: rdlugosz

Site: http://twitter.com/thatRD

Comments by Ryan Dlugosz

Avatar

Thanks Ryan, this is a really useful Gem.

FYI the ASCIIcast is missing a single quote in the "job_type :script" line of the first code block under the Creating Your Own Jobs section.

Avatar

thx for this episode - I'm leaving bash for greener pastures.

Question: Anyone know what the %p escape is doing in the default prompt? Here's the whole thing:

PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'

I don't see any references to %p in man zshmisc and it doesn't seem like anything is being displayed there on any of my prompts... Anyway, just a curiosity.