Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

source bash_profile on startup mac

If you are using oh-my-zsh,
the default one that will be loaded automatically is ~/.zshrc.
All you need to do is adding the following at the end of ~/.zshrc:

if [ -f ~/.bash_profile ]; then
  . ~/.bash_profile
fi
Source by apple.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #source #startup #mac
ADD COMMENT
Topic
Name
5+3 =