X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;fp=etc%2Fzsh%2Fzshrc;h=3436f2d2fdbac4122ad372da0ed6f2997b8b03e7;hp=5150964c9a81f24dacb603227a16fe2a0608616c;hb=4258fbb641897b3e5fd49323c43686b2b431bb42;hpb=01f5d9f52a15de385bd5105180f90aca334ea30b diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 5150964..3436f2d 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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