summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-11-07 16:40:05 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-11-07 16:40:05 +0100
commit9b0560257247887d716fbed36c43a32a97ed6ffd (patch)
tree56b9372009a804105c1e59147a4a8aac1bd8f2f4 /.zsh/zshrc
parentab20e46dc4275b550e532dff7440c2ec63015ac4 (diff)
downloaddotfiles-9b0560257247887d716fbed36c43a32a97ed6ffd.tar.gz
dotfiles-9b0560257247887d716fbed36c43a32a97ed6ffd.tar.bz2
dotfiles-9b0560257247887d716fbed36c43a32a97ed6ffd.zip
Better hg VCS prompt support.
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index ece7d6c..6ce8761 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -112,6 +112,12 @@ if [[ $ZSH_VERSION == 4.3.<->* ]]; then
zstyle ":vcs_info:*" get-revision true
zstyle ":vcs_info:*" check-for-changes true
zstyle ":vcs_info:*" max-exports 1
+
+ # hg stuff
+ zstyle ":vcs_info:hg:*" unstagedstr '*'
+ zstyle ":vcs_info:hg:*" hgrevformat '%r'
+
+ # bzr stuff
zstyle ":vcs_info:bzr:*" unstagedstr '*'
if type bzr NOE; then