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

Re: ignore-parents style broken for cd



On Apr 16,  1:06am, Jun T. wrote:
}
} The ignore-parents style doesn't work for the cd command:

Yes, this was discussed in the thread ending at workers/32459
http://www.zsh.org/mla/workers/2014/msg00248.html
 
} But the actual problem may be not in _cd but in either _path_files
} or compadd (or 'compfiles -i' ?).
} 
} The patch below is my try, but I don't (and will never)
} understand any details of _path_files.
} 
} P.S.
} I also didn't understand the logic at line 569:
}       (( $#_comp_ignore && $mopts[(I)-F] )) ||

Both of your suggestion edits look reasonable to me.  I'm not sure that
anyone really understands _path_files in its entirety ...



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