Fixed version of macports.plugin.zsh to fix issue #1983

As macports user i think it may be useful to put the export command
from macports in the plugin.
MacPorts adds this line when finishes its installation.
So if macports already installed, when oh-my-zsh install script runs,
the line disappear.
If macports is installed after oh-my-zsh, the added lines at the end of
the .zshrc need to be removed.

This update fix issue #1983.
This commit is contained in:
Jeff LANCE 2013-12-04 18:14:57 +01:00
commit d8993c9919

View file

@ -1,4 +1,9 @@
#Aliases
# The export line may need to be commented out in the .zshrc file
# as MacPorts adds this line when it finished install
# Add MacPorts to PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Aliases
alias pc="sudo port clean --all installed"
alias pi="sudo port install $1"
alias psu="sudo port selfupdate"