[MacPorts] #27504: bash completion and sudo password problem
MacPorts
noreply at macports.org
Wed Aug 10 11:59:03 PDT 2011
#27504: bash completion and sudo password problem
----------------------------------+-----------------------------------------
Reporter: heapifyman@… | Owner: raimue@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: bash-completion
----------------------------------+-----------------------------------------
Comment(by heapifyman@…):
The problem seems to be that I am working as a non-admin user and have to
invoke the port command with prepening sudo. As I am a lazy person I
thought I'd add an alias to my ~/.profile like this:
{{{
alias port="sudo port"
}}}
The problem described above only happens when this alias is active.
Without the alias bash-completion works as expected.
Is there some other way to avoid typing sudo all the time when using port
command?
--
Ticket URL: <https://trac.macports.org/ticket/27504#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list