Zitat von Jan Stary <h...@stare.cz>:

On Jul 29 09:47:39, develo...@robert-palm.de wrote:
wonder how I can get TAB completion in the shell when using doas ...

tab completion is not specific to any command.

Hm, it does work, e.g. when I start typing

$sysu<TAB>

it shows me the commands starting with "sysu"

But I would like this to happen even if I use

$doas sysu<TAB>

There seems to be a solution for the bash shell (adding following to ~/.bashrc)

complete -cf doas

but I cannot figure out how to do this for ksh.

My workaround is to type in the command (using autocompletion) and then jump to the beginning of the shell again adding doas in front of the cmd.

But it would be nice to start with doas and then simply typing in the cmd...






Reply via email to