From: | Nikos Chantziaras <realnc@×××××.com> |
---|---|
To: | gentoo-user@l.g.o |
Subject: | [gentoo-user] bash completion doesn't always work with sudo |
Date: | Sun, 06 Apr 2014 10:45:01 |
Message-Id: | lhrb62$i88$1@ger.gmane.org |
1 | I have a problem where commands preceded by "sudo" are not always |
2 | auto-completed. This happens with executables that don't have user |
3 | execute permission. For example, net-analyzer/tcptraceroute installs |
4 | this binary: |
5 | |
6 | -rws--x--- 1 root wheel 35536 Mar 8 23:32 /usr/sbin/tcptraceroute |
7 | |
8 | Typing: |
9 | |
10 | sudo tcptr[TAB] |
11 | |
12 | does not auto-complete. Changing the permissions: |
13 | |
14 | chmod a+x /usr/sbin/tcptraceroute |
15 | |
16 | makes it work. |
17 | |
18 | Is there a way to make bash-completion work without having to modify the |
19 | permissions? |
Subject | Author |
---|---|
Re: [gentoo-user] bash completion doesn't always work with sudo | staticsafe <me@××××××××××.ca> |