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

dynamic named directories clobber $reply



I noticed that after a successful ~[something] substitution, ~[] or
~[invalid] would return the same substitution, because $reply leaks to
the parent shell, and my function doesn't unset $reply when it doesn't
find anything valid. If I make it local in the function it doesn't
work at all, is there some way it can be local in the hook somehow?

-- 
Mikael Magnusson



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