Skip to content

Instantly share code, notes, and snippets.

@mnlcandelaria
Created January 21, 2020 02:44
Show Gist options
  • Select an option

  • Save mnlcandelaria/01300420683cd62c2c1c6eb8b271988d to your computer and use it in GitHub Desktop.

Select an option

Save mnlcandelaria/01300420683cd62c2c1c6eb8b271988d to your computer and use it in GitHub Desktop.
Run source ~/.bash_profile every time start new terminal
.bashrc will be loaded per default, so if you have all your stuff in .bash_profile ensure
it will be loaded, so you have to add to your .bashrc:
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile
fi
--------------------------------------------------
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment