Permalink
Browse files

Stop error message when outside hg directories

  • Loading branch information...
Hamish Downer
Hamish Downer committed Dec 19, 2016
1 parent 5222834 commit 9d94f76b2b94f3b1f0f6d6e2629a2a597e0d280b
Showing with 1 addition and 1 deletion.
  1. +1 −1 zsh/foobacca.zsh-theme
View
@@ -72,7 +72,7 @@ function hg_prompt_slosh {
# As for speeding up "hg root", the only suggestion I have is to set
# HGRCPATH to an empty string, and HGPLAIN=1.
# or maybe HGRCPATH=~/.hgrc-promptonly
HGRCPATH=$HOME/.hgrc-promptonly HGPLAIN=1 hg prompt --angle-brackets "$ZSH_THEME_GIT_PROMPT_PREFIX<branch><:<bookmark>>%{$reset_color%}<status><update>$ZSH_THEME_GIT_PROMPT_SUFFIX"
HGRCPATH=$HOME/.hgrc-promptonly HGPLAIN=1 hg prompt --angle-brackets "$ZSH_THEME_GIT_PROMPT_PREFIX<branch><:<bookmark>>%{$reset_color%}<status><update>$ZSH_THEME_GIT_PROMPT_SUFFIX" 2>/dev/null
}
# stuff nicked from kphoen.zsh-theme and pygmalion.zsh-theme

0 comments on commit 9d94f76

Please sign in to comment.