On Sat, May 3, 2014 at 1:27 PM, Bill Christensen < billc_li...@greenbuilder.com> wrote:
> I installed a non-MacPorts package on my server the other day - WordPress > command line interface (wp-cli) which uses the "wp" command. It's working > properly. > > But I just went to do my regular updates using MacPorts, and I've lost my > "port" command. I'm getting "command not found". > > How do I (a) re-establish the port command and (b) keep the wp command? > Find whatever is setting $PATH in your shell dotfiles and make it consistent so that it can find both. (Without knowing what/how it's being set, I can't say a whole lot more about how.) Likely files are ~/.profile ~/.bash_profile ~/.bashrc or if you use csh/tcsh ~/.login ~/.cshrc ~/.tcshrc and note that you may have ended up with a setting in one of those files overriding a setting in another. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users