diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-21 17:22:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-09-21 17:22:21 +1200 |
commit | 4a541b99e644557ff8909f883d4d6cb90a994176 (patch) | |
tree | 5705500f5308d25b06b43de1b9a1a7bf5efb0321 /README.markdown | |
parent | Remove subshell call from status print (diff) | |
download | dotfiles-4a541b99e644557ff8909f883d4d6cb90a994176.tar.gz dotfiles-4a541b99e644557ff8909f883d4d6cb90a994176.zip |
Complete overhaul of git prompt function
This uses the output of ``git status -z --porcelain'', which was
designed for exactly this kind of reason. It avoids excessive program
calls, forks, and a few subshells, and is consistently faster on
everything I've tried so far.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown index a68331d8..5ad1d32c 100644 --- a/README.markdown +++ b/README.markdown @@ -140,8 +140,7 @@ It expands based on context to include these elements in this order: * The number of running background jobs * The exit status of the last command, if non-zero -This is all managed within the `prompt` function. Some of the Git stuff was -adapted from @necolas’ [superb dotfiles](https://github.com/necolas/dotfiles). +This is all managed within the `prompt` function. When I use any other Bourne-compatible shell, I’m generally happy to accept its defaults for interactive behavior. |