3 ms·
I think (correct me if im wrong) tools shells like fish and zsh use the man pages to extract the param suggestions. That saves me so much time
by tartoran 6y ago
I think (correct me if im wrong) tools shells like fish and zsh use the man pages to extract the param suggestions. That saves me so much time
- bewuethr 6y agoBash-completion does something like this for commands with consistent --help output (most Coreutils, bash, awk, grep, sed...) by parsing it in the completion function: https://github.com/scop/bash-completion/blob/29508ce70914f787203722c2e7d77f33f6330fb1/bash_completion#L1993-L2048 https://github.com/scop/bash-completion/blob/29508ce70914f78...