From 29166a64b83b15185d58fbc44e07214dff46d8c4 Mon Sep 17 00:00:00 2001 From: Leonid Volnitsky Date: Wed, 11 Aug 2010 20:52:13 +0300 Subject: -- minore docs --- git-prompt.sh | 4 ++-- index.txt | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/git-prompt.sh b/git-prompt.sh index a4c7216..07a2186 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -510,7 +510,7 @@ parse_git_status() { ### compose vcs_info if [[ $init ]]; then - vcs_info=M$white=init + vcs_info=${white}init else if [[ "$detached" ]] ; then @@ -604,7 +604,7 @@ disable_set_shell_label() { trap - DEBUG >& /dev/null } -# enable stuffing currently executed command displays in label +# show currently executed command in label enable_set_shell_label() { disable_set_shell_label # check for BASH_SOURCE being empty, no point running set_shell_label on every line of .bashrc diff --git a/index.txt b/index.txt index a0c3b84..d8dd50b 100644 --- a/index.txt +++ b/index.txt @@ -11,7 +11,7 @@ image:screenshot-prompt-basic.png[basic usage] Digit [red]*1* on 3rd line is `false(1)` exit code. Also on non-zero exit code -terminal bell is sounded. Bell is turnned off by default (to set softer +terminal bell is sounded. Bell is turned off by default (to set softer terminal bell use `setterm`). @@ -68,11 +68,11 @@ caption always "%{= kw}%-w%{= bw}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c" == Simple AutoJump AutoJump is python script from Joel Schaerer providing shortcuts for jumping -to directories you once visited. Git-prompt have builtin, simplified -autojump. It is only about 10 lines of code (vs original 100+ LOC), there is -no database. It remembers only directories from current session. It selects -not most frequent dir, but last visited. Matches are done from beginning of of -dir name (not path name). +to directories you once visited. Git-prompt have built-in, simplified +autojump. It is only about 10 lines of bash code (vs original 100+ python +LOC), there is no database. It remembers only directories from current +session. It selects not most frequent dir, but last visited. Matches are done +from beginning of of dir name (not path name). ----------------- cd /tmp -- cgit v1.2.3