Help, to edit and improve the sudo auto completion
How can we improve the auto completion on sudo, as it should complete second argument, i.e. the rooted executable's first argument, with items of the current working directory files instead of that of executable files in PATH
The problem is can't find this but a completion code with keyword sudo lines under /usr/share/bash-completion
there is file under bash_completion dir.;
in completions/sudo line 54:
complete -F _sudo sudo sudoedit
Please one so expert on the Bash completion help
Last edited by zeroone; 08-24-2023 at 11:36 AM.
|