Download:
child 53:89d19a889252
parent 51:8edd66f923ca
52:17b5c2356d70
Anton Shestakov <engored@ya.ru>, Thu, 04 Sep 2014 16:11:09 +0900
New screenshots and an updated readme.

7 файлов изменено, 14 вставок(+), 17 удалений(-) [+]
README.rst file | annotate | diff | comparison | revisions
docs/prompt-exit.png file | annotate | diff | comparison | revisions
docs/prompt-git.png file | annotate | diff | comparison | revisions
docs/prompt-hg.png file | annotate | diff | comparison | revisions
docs/prompt-root.png file | annotate | diff | comparison | revisions
docs/prompt-venv.png file | annotate | diff | comparison | revisions
docs/prompt.png file | annotate | diff | comparison | revisions
--- a/README.rst Thu Sep 04 16:09:14 2014 +0900
+++ b/README.rst Thu Sep 04 16:11:09 2014 +0900
@@ -6,42 +6,39 @@
~~~~~~~~~~~~
This file provides ``prompt_command`` function that is executed by the
-shell just before displaying ``PS1``. This way user can redefine ``PS1`` (or any of
-``PS{1,4}``, for that matter) to fit his/her needs. That's what I did exactly.
-
-Regular prompt
---------------
-
-.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt.png
+shell just before displaying ``PS1`` (which the function sets). The result is a
+colored shell prompt.
Note that the clock is not real-time. It updates after your shell command
finishes (e.g. after you press enter). That's sufficient if you want to
know how long your db backup took, for example.
-Mercurial and Git support is disabled for root, thus two colored dashes.
+Exit codes
+----------
+
+.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-exit.png
Virtualenv
----------
.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-venv.png
-Exit codes
-----------
-
-.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-exit.png
-
Mercurial prompt
----------------
.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-hg.png
-It can be clearer, sure. But I'm used to this and I like it because it's
-taking so little space.
-
Git prompt
----------
-No screenshot yet.
+.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-git.png
+
+Root prompt
+-----------
+
+.. image:: https://bitbucket.org/engored/dotfiles/raw/tip/docs/prompt-root.png
+
+Mercurial and Git support is disabled for root, thus two colored dashes.
.bash_aliases
Binary file docs/prompt-exit.png has changed
Binary file docs/prompt-git.png has changed
Binary file docs/prompt-hg.png has changed
Binary file docs/prompt-root.png has changed
Binary file docs/prompt-venv.png has changed
Binary file docs/prompt.png has changed