Edit the documentation slightly.
author |
Steve Losh <steve@stevelosh.com> |
date |
Tue, 14 Jul 2009 07:30:52 -0400 |
parents |
257f4349747c
|
children |
22b47bf907b8
|
branches/tags |
(none) |
files |
README prompt.py |
Changes
--- a/README Tue Jul 14 07:28:42 2009 -0400
+++ b/README Tue Jul 14 07:30:52 2009 -0400
@@ -54,9 +54,9 @@
* **bookmark:** the current bookmark
* **branch:** the current branch
-* **root:** the full path to the root of the current repository, with a trailing slash.
+* **root:** the full path to the root of the current repository, with a trailing slash
* **root|basename:** the directory name of the root of the current repository. For example, if the repository is in `/home/u/myrepo` then this keyword would expand to `myrepo`.
-* **status:** `!` if the repository has any changed/added/removed files, otherwise `?` if it has any untracked (but not ignored) files, otherwise nothing
+* **status:** `!` if the repository has any changed/added/removed files, otherwise `?` if it has any untracked (but not ignored) files, otherwise nothing.
Putting it in a Bash Prompt
---------------------------
--- a/prompt.py Tue Jul 14 07:28:42 2009 -0400
+++ b/prompt.py Tue Jul 14 07:30:52 2009 -0400
@@ -49,7 +49,7 @@
- bookmark: the current bookmark
- branch: the current branch
- root: the full path to the root of the current repository, with a
- trailing slash.
+ trailing slash
- root|basename: the directory name of the root of the current
repository. For example, if the repository is in '/home/u/myrepo'
then this keyword would expand to 'myrepo'.