aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-26 15:09:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-26 15:09:22 +1200
commite4ad3ed3e2fa5b0c0e59cabf8662781d1b47a5b3 (patch)
treeee11f01d2714b593da97738eb0e2ce7726182162 /README.markdown
parentUse single quotes for printf (diff)
downloaddotfiles-e4ad3ed3e2fa5b0c0e59cabf8662781d1b47a5b3.tar.gz
dotfiles-e4ad3ed3e2fa5b0c0e59cabf8662781d1b47a5b3.zip
Rearrange prompt to put last return status last
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index c3e32d67..1a3dc016 100644
--- a/README.markdown
+++ b/README.markdown
@@ -83,14 +83,14 @@ My prompt generally looks like this, colored bright green:
It expands based on context to include these elements in this order:
-* The exit status of the last command, if it was non-zero
* Whether in a Git, Mercurial, or Subversion repository, and punctuation to
show whether there are local modifications at a glance
* The number of running background jobs
+* The exit status of the last command, if non-zero
With all of the above (a rare situation), it might look something like this:
- [user@hostname:~/gitrepo]<127>(git:master?){1}$
+ [user@hostname:~/gitrepo](git:master?){1}<127>$
This is all managed within the `prompt` function. Some of the Git stuff was
adapted from @necolas' [superb dotfiles][19].