aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-21 17:22:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-21 17:22:21 +1200
commit4a541b99e644557ff8909f883d4d6cb90a994176 (patch)
tree5705500f5308d25b06b43de1b9a1a7bf5efb0321 /README.markdown
parentRemove subshell call from status print (diff)
downloaddotfiles-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.markdown3
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.