diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-02-23 11:05:25 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-02-23 11:07:04 -0600 |
commit | 957323ae7f1a86f554aead2fe59e4e4af08bf9ca (patch) | |
tree | 495f36c59fc24a285eefd8c362512e2e3851ab9c /bin | |
parent | 0a7b45d752df0f61588013fc828f5daaf67981b5 (diff) | |
download | conf-957323ae7f1a86f554aead2fe59e4e4af08bf9ca.tar.gz conf-957323ae7f1a86f554aead2fe59e4e4af08bf9ca.zip |
fix "repository state" output in the prompt
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fancy-prompt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/fancy-prompt b/bin/fancy-prompt index b9cb193..c07c27e 100755 --- a/bin/fancy-prompt +++ b/bin/fancy-prompt @@ -335,13 +335,13 @@ sub git_info { my $state = ''; if (-e "$git_dir/MERGE_HEAD") { - $state = 'm'; + $state = '(m)'; } elsif (-d "$git_dir/rebase-apply" || -d "$git_dir/rebase-merge") { - $state = 'r'; + $state = '(r)'; } elsif (-e "$git_dir/BISECT_START") { - $state = 'b'; + $state = '(b)'; } $branch = '' if $branch eq 'master'; |