On Sun, 10 Jan 2010, Benjamin R. Haskell wrote: > [...] > > I frequently use tab-completing the whole of filename. But, that line prevents me from > tab-completing into the /etc/X11 and /usr/share/X11 directories. > > [...] > > Seems like a bug to me -- not 100% sure where, so I figured I'd ping the > list before patching it myself. > Making _redirect consider whether $CURRENT is 1 seems to solve the problem for me. Might also make sense to test whether NULLCMD is set. Not sure if this would have other adverse effects, nor what the mention of 'ksharrays' in the man page might entail. Patch attached. Best, Ben