Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
complete -e doesn't #380
The documentation for complete says:
"When erasing completions, it is possible to either erase all completions for a specific command by specifying complete -e -c COMMAND, or by specifying a specific completion option to delete by specifying either a long, short or old style option."
The former doesn't work, but that latter does.
The bug is still present in 07b7a65.
> complete | grep foo > complete -c foo -A -f -a 'bar baz' > complete | grep foo complete --no-files --command foo --arguments 'bar baz' > complete -c foo -e > complete | grep foo complete --no-files --command foo --arguments 'bar baz'
At least the documentation should be fixed to avoid mentionning
referenced this issue
Sep 2, 2014