On Tue, Jul 30, 2024 at 12:42:04AM +0200, Alexander Hall wrote: > In this specific case, I believe > > $ alias doas='doas ' # Note the space > > might have done the trick as well, for ksh at least. > > /Alexander >
is that correct? as far as i know, adding a space after an alias is used to get the shell to expand the next item as an alias as well, not shell/tab expansion. jmc > 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) > > >