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

Re: named directory bug



On Nov 2, 10:21am, Peter Stephenson wrote:
}
} You have RCEXPANDPARAM turned on.  Turn the setopt into
}   emulate -L zsh
}   setopt xtrace
} and it should work as expected.

Except of course that the command in question is supposed to go into
_main_complete, which needs RCEXPANDPARAM.

Use

    eval "local +h nameddirs; nameddirs=(${(@kvq)^^nameddirs})"

to disable RCEXPANDPARAM for that expansion only.

-- 
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