diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 22e7f372f..8909a400c 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -23,7 +23,7 @@ function precmd { #Appears at the beginning of (and during) of command execution function preexec { emulate -L zsh - setopt extended_glob + setopt extendedglob local CMD=${1[(wr)^(*=*|sudo|ssh|-*)]} #cmd name only, or if this is sudo or ssh, the next cmd title "$CMD" "%100>...>$2%<<" } diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh index 682bb2667..b77c93804 100644 --- a/plugins/osx/osx.plugin.zsh +++ b/plugins/osx/osx.plugin.zsh @@ -77,7 +77,7 @@ function quick-look() { } function man-preview() { - man -t "$@" | open -f -a Preview + man -t dvi "$@" | open -f -a Preview } function trash() {