<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, May 3, 2014 at 1:27 PM, Bill Christensen <span dir="ltr">&lt;<a href="mailto:billc_lists@greenbuilder.com" target="_blank">billc_lists@greenbuilder.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I installed a non-MacPorts package on my server the other day - WordPress command line interface (wp-cli) which uses the &quot;wp&quot; command.  It&#39;s working properly.<br>

<br>
But I just went to do my regular updates using MacPorts, and I&#39;ve lost my &quot;port&quot; command.  I&#39;m getting &quot;command not found&quot;.<br>
<br>
How do I (a) re-establish the port command and (b) keep the wp command?<br></blockquote></div><div class="gmail_extra"><br></div>Find whatever is setting $PATH in your shell dotfiles and make it consistent so that it can find both. (Without knowing what/how it&#39;s being set, I can&#39;t say a whole lot more about how.)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Likely files are</div><div class="gmail_extra">~/.profile</div><div class="gmail_extra">~/.bash_profile</div><div class="gmail_extra">~/.bashrc</div><div class="gmail_extra">
or if you use csh/tcsh</div><div class="gmail_extra">~/.login</div><div class="gmail_extra">~/.cshrc</div><div class="gmail_extra">~/.tcshrc<br clear="all"><div><br></div><div>and note that you may have ended up with a setting in one of those files overriding a setting in another.</div>
<div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>