diff options
author | Leonid Volnitsky <Leonid@Volnitsky.com> | 2010-08-11 20:52:13 +0300 |
---|---|---|
committer | Leonid Volnitsky <Leonid@Volnitsky.com> | 2010-08-11 20:52:23 +0300 |
commit | 29166a64b83b15185d58fbc44e07214dff46d8c4 (patch) | |
tree | cd228885d21bae149555053b3dbd7d23cb3c4b5a | |
parent | -- completion docs/cleanup (diff) | |
download | git-prompt-29166a64b83b15185d58fbc44e07214dff46d8c4.tar.gz git-prompt-29166a64b83b15185d58fbc44e07214dff46d8c4.tar.bz2 git-prompt-29166a64b83b15185d58fbc44e07214dff46d8c4.zip |
-- minore docs
-rwxr-xr-x | git-prompt.sh | 4 | ||||
-rw-r--r-- | 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 @@ -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 |