[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd tab expansion



On Tue, May 30, 2017 at 08:11:31AM +0200, Cecil Westerhof wrote:
> Toen ik nog openSUSE gebruikte werkte systemd tab expansion. Als ik
> bijvoorbeeld invoerde:
>     systemd status po
> 
> En dan tab gaf, dan werd dat geexpandeerd naar:
>     systemd status postfix.service
> 
> In Debian werkt dat helaas niet. Moet ik een extra package
> installeren?
> 
> -- 
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Ik ga er van uit dat u bash gebruikt. Dan is bash-completion is wat u zoekt.
Deze levert een file /etc/bash_completion die dat allemaal regelt. De file
wordt automatisch gesourced door /etc/bash.bashrc

Pakketten zoeken gaat makkelijk met apt-cache:
$ apt-cache search bash completion
apparix - console-based bookmark tool for fast file system navigation
bash - GNU Bourne Again SHell
bash-completion - programmable completion for the bash shell
buku - Powerful command-line bookmark manager
...

Gr. Mart

Attachment: signature.asc
Description: PGP signature


Reply to: