Created
January 21, 2020 02:44
-
-
Save mnlcandelaria/01300420683cd62c2c1c6eb8b271988d to your computer and use it in GitHub Desktop.
Run source ~/.bash_profile every time start new terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .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