projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b93037
)
zshrc: update
author
Stefan Huber <s.huber@bct-electronic.com>
Wed, 7 Nov 2012 10:13:55 +0000
(11:13 +0100)
committer
Stefan Huber <s.huber@bct-electronic.com>
Wed, 7 Nov 2012 10:13:55 +0000
(11:13 +0100)
dotfiles/zshrc
patch
|
blob
|
history
diff --git
a/dotfiles/zshrc
b/dotfiles/zshrc
index 7da781d3e6e56c15d0e1f5ba2e95dd8c0f90fe55..336bd92ff6125c5fde856c6d26415c313fd19f50 100644
(file)
--- a/
dotfiles/zshrc
+++ b/
dotfiles/zshrc
@@
-90,8
+90,8
@@
function setprompt() {
PR_BOLD="%{$terminfo[bold]%}"
PR_NO_COLOUR="%{$terminfo[sgr0]%}"
- zstyle ':vcs_info:*' actionformats "${PR_YELLOW}
[%b|%a]
${PR_NO_COLOUR} "
- zstyle ':vcs_info:*' formats "${PR_YELLOW}
[%b]
${PR_NO_COLOUR} "
+ zstyle ':vcs_info:*' actionformats "${PR_YELLOW}
%s:%b|%a
${PR_NO_COLOUR} "
+ zstyle ':vcs_info:*' formats "${PR_YELLOW}
%s:%b
${PR_NO_COLOUR} "
setopt PROMPT_SUBST
PROMPT='%(!.$PR_RED.$PR_GREEN)%n@%m $PR_BLUE%1~ %# $PR_NO_COLOUR'