3 ms·
Why does zsh want to know where mkdir came from?
by tedunangst 5y ago
Why does zsh want to know where mkdir came from?
- LukeShu 5y agoThe tab completion sniffs the `--help` output to determine whether it should tab-complete `--long` flags and if so whether it should include `--context` (SELinux) among them. https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_mkdir https://github.com/zsh-users/zsh/blob/master/Completion/Unix...
- trashburger 5y agoPresumably to figure out which options the completion engine allows you to select. Being able to select GNU extensions on a BSD mkdir would be silly.