From 4b143ab382ff9de952acc14a79c7557f810670a4 Mon Sep 17 00:00:00 2001 From: praful mathur Date: Fri, 2 Dec 2011 11:12:47 -0500 Subject: [PATCH] setopt globalextended --- lib/termsupport.zsh | 2 +- plugins/osx/osx.plugin.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() {