diff options
-rwxr-xr-x | git-prompt.sh | 6 | ||||
-rw-r--r-- | index.txt | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/git-prompt.sh b/git-prompt.sh index 99cf6ba..88db6bc 100755 --- a/git-prompt.sh +++ b/git-prompt.sh @@ -510,8 +510,8 @@ parse_git_status() { ### compose vcs_info - if [[ $init ]]; then - vcs_info=M$white=init + if [[ $init ]]; then + vcs_info=${white}init else if [[ "$detached" ]] ; then @@ -607,7 +607,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 |