Skip to content

Commit

Permalink
fix NOPRECMD logic
Browse files Browse the repository at this point in the history
Acked-by: Frank Terbeck <ft@grml.org>
  • Loading branch information
moben authored and ft committed Mar 13, 2013
1 parent 01f5d9f commit 4258fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/zsh/zshrc
Expand Up @@ -1729,7 +1729,7 @@ function grml_control_xterm_title () {
}

zrcautoload add-zsh-hook || add-zsh-hook () { :; }
if [[ $NOPRECMD -gt 0 ]]; then
if [[ $NOPRECMD -eq 0 ]]; then
add-zsh-hook precmd grml_reset_screen_title
add-zsh-hook precmd grml_vcs_to_screen_title
add-zsh-hook preexec grml_maintain_name
Expand Down

0 comments on commit 4258fbb

Please sign in to comment.