port command & arguments

Ryan Schmidt ryandesign at macports.org
Tue Apr 8 00:41:22 PDT 2014


On Apr 8, 2014, at 02:00, René J.V. Bertin wrote:

> These days I spend my time switching back and forth between Linux/Debian and OS X. The various package management tools I use on the former (apt, apt-get, aptitude) all have a very similar syntax, but port has a number of just-or-completely different command names. The one that I mix up most is info vs. show, but I rarely get the commands for listing dependencies right at the first try either.
> I've created a duplicate of the action_array's info entry so that I can do 'port show', but how possible would it be to create aliases? (One could even think of a table that's read from file...)
> 
> I admit, my memory is no longer what it used to be, but nowadays I don't really care anymore if I can master all of ls's options without referring to the docs :)

You should be able to create aliases in your shell startup file.

As for incorporating aliases into MacPorts itself, that doesn’t seem like a bad idea. I don’t use other package management systems, so I personally am not familiar with what commands other systems use.



More information about the macports-users mailing list