In this specific case, I believe $ alias doas='doas ' # Note the space
might have done the trick as well, for ksh at least. /Alexander On July 29, 2024 7:30:57 PM GMT+02:00, Robert Palm <develo...@robert-palm.de> wrote: >Thanks a lot for sharing all this great solutions! > >Am 29. Juli 2024, 17:37, um 17:37, Stuart Henderson ><stu.li...@spacehopper.org> schrieb: >>On 2024-07-29, Robert Palm <develo...@robert-palm.de> wrote: >>> >>> Hi, >>> >>> wonder how I can get TAB completion in the shell when using doas ... >>> >>> Do I need to add something to .profile ? >> >>pkg_add dmenu, then you can add this: >> >>set -A complete_doas `dmenu_path` >> >>(note it will not update automatically if a new program is installed; >>either restart the shell, or re-run the 'set' command) >