Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: compctl whitespace changes



On Aug 8, 10:22am, Sven Wischnowsky wrote:
}
} > Or should I just be moving to the compsys stuff?
} 
}   compdef _lmutt lmutt
}   _lmutt () { _files -W ~/bin -g '*(.)' }
                         ?^^^^^?
} 
} could get you started.

Better might be

    _lmutt () { local maildirectory=~/Mail/Lists; _mutt "$@" }

(That maildirectory variable really ought to get changed to a style ...)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author