Add MacPorts support
This commit is contained in:
parent
d3d43ae6c7
commit
73e33c2100
2 changed files with 7 additions and 4 deletions
9
zshrc
9
zshrc
|
@ -32,9 +32,6 @@ source ~/.p10k.zsh
|
|||
#########
|
||||
# the env _essentials_
|
||||
#########
|
||||
# Goodbye, Atom. Sorry, muscle memory.
|
||||
alias atom='code'
|
||||
|
||||
export HISTFILE="$HOME/.zsh_history"
|
||||
export HISTSIZE=5000
|
||||
export SAVEHIST=$HISTSIZE
|
||||
|
@ -87,6 +84,12 @@ if [[ $OSTYPE == darwin* ]]; then
|
|||
eval $($BREW_PREFIX/bin/brew shellenv)
|
||||
fi
|
||||
|
||||
# If we have it available, permit MacPorts.
|
||||
if [ -f /opt/local/bin/port ]; then
|
||||
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
|
||||
export MANPATH="/opt/local/share/man:$MANPATH"
|
||||
fi
|
||||
|
||||
# Under Darwin, we also want iTerm2 integration if possible.
|
||||
if [ -f ${HOME}/.iterm2_shell_integration.zsh ]; then
|
||||
source "${HOME}/.iterm2_shell_integration.zsh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue