Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
git_prompt_info function not only reports the branch and dirty status, but also whether or not the branch is ahead or behind of the remote, or both. It also switches the prompt colour from green to red if the previous command exited with a non-zero value (i.e. failed).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mrinterweb/master
|
|
|
|
|
|
|
|
|
|
mdonoughe/master
|
|
|
|
was being used was not correct. Or at least on my machine. See man page for the stat command
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Based on Evan's prompt, it uses colors, shows the exit status of the
last command if it was non-zero, and displays "#" when running
with elevated privileges
|
|
This means we are running it after $PATH has potentially been set up,
which means it's more likely that commands like "git" will be found
|
|
|
|
|
|
|
|
|
|
|