You are not logged in.

#1 2013-08-03 20:32:57

nLinked
Member
Registered: 2013-04-06
Posts: 38

[SOLVED] xfce4-terminal doesn't tab-autocomplete with sudo commands

Wondering if this is a limitation of xfce4-terminal or something that can be enabled.

In xfce4-terminal, if I type pac and press tab key, it autocompletes to pacman. If I type sudo pac and press tab, it won't autocomplete. The same is true when trying to complete anything after starting with sudo as the first word of the command. Paths resolve fine though after sudo, just not program names or commands.

Fixable?

Last edited by nLinked (2013-08-03 20:45:00)

Offline

#2 2013-08-03 20:36:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] xfce4-terminal doesn't tab-autocomplete with sudo commands


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-08-03 20:44:48

nLinked
Member
Registered: 2013-04-06
Posts: 38

Re: [SOLVED] xfce4-terminal doesn't tab-autocomplete with sudo commands

Thank you so much smile

I went for the option to add it in my ~/.bashrc file instead of installing the bash-completion package. Rebooted and it works!

Offline

#4 2013-08-03 20:58:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] xfce4-terminal doesn't tab-autocomplete with sudo commands

No need to reboot; sourcing .bashrc would work as well...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB