diff --git a/modules/macports/init.zsh b/modules/macports/init.zsh index 899d58b..c9a8f15 100644 --- a/modules/macports/init.zsh +++ b/modules/macports/init.zsh @@ -10,6 +10,26 @@ if [[ "$OSTYPE" != darwin* ]]; then return 1 fi +# Paths + +# Set the list of directories that info searches for manuals. +infopath=( + /opt/local/share/info + $infopath +) + +# Set the list of directories that man searches for manuals. +manpath=( + /opt/local/share/man + $manpath +) + +# Set the list of directories that Zsh searches for programs. +path=( + /opt/local/{bin,sbin} + $path +) + # Aliases alias pc="sudo port clean --all installed" alias pi="sudo port install $1"