setopt globalextended

This commit is contained in:
praful mathur 2011-12-02 11:12:47 -05:00
commit 4b143ab382
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ function precmd {
#Appears at the beginning of (and during) of command execution #Appears at the beginning of (and during) of command execution
function preexec { function preexec {
emulate -L zsh 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 local CMD=${1[(wr)^(*=*|sudo|ssh|-*)]} #cmd name only, or if this is sudo or ssh, the next cmd
title "$CMD" "%100>...>$2%<<" title "$CMD" "%100>...>$2%<<"
} }

View file

@ -77,7 +77,7 @@ function quick-look() {
} }
function man-preview() { function man-preview() {
man -t "$@" | open -f -a Preview man -t dvi "$@" | open -f -a Preview
} }
function trash() { function trash() {