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
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%<<"
}