mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
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.
13 lines
417 B
Bash
13 lines
417 B
Bash
# 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"
|
|
alias puni="sudo port uninstall inactive"
|
|
alias puo="sudo port upgrade outdated"
|
|
alias pup="psu && puo"
|
|
|