LWN.net Logo

useless and useful distinctions

useless and useful distinctions

Posted Jan 27, 2012 17:58 UTC (Fri) by iabervon (subscriber, #722)
In reply to: useless and useful distinctions by zyga
Parent article: The case for the /usr merge

In order to tab-complete "sudo ...", your shell needs a rule that what follows "sudo" is found from $PATH, not cwd. If it has a rule, it can have the rule tab-complete based on /usr/bin and /usr/sbin instead of actually using $PATH (which is likely to include things like ~/bin which won't be in root's PATH, as well as not including /usr/sbin).


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds