Last active
December 14, 2015 06:51
-
-
Save rothmichaels/d99298573e08b9450ae7 to your computer and use it in GitHub Desktop.
Bash sourcing profile/.profile for non-login shells on OS X
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
| #!/usr/bin/env bash | |
| # Place this file in your PATH and | |
| # add the following line to your .emacs.el: | |
| # (setq explicit-shell-file-name "emacs-bash.sh") | |
| bash --init-file <(echo 'source /etc/profile; source ~/.profile') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment