Created
April 25, 2017 08:17
-
-
Save scriptingosx/3c673a183f6aaddebbfe4e6c0a03627a to your computer and use it in GitHub Desktop.
Sample Environment Variables in bash_profile/bashrc. (See http://scriptingosx.com/2017/04/on-bash-environment-variables/ for details)
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
# ENVIRONMENT VARIABLES | |
# add my ~/bin dir to path | |
PATH=${PATH}:~/bin | |
export PATH | |
# simple prompt | |
# default macOS prompt is: \h:\W \u\$ | |
export PS1="\W \$ " | |
# enable Terminal color | |
export CLICOLOR=1 | |
# set EDITOR to bbedit | |
if [[ -e "/usr/local/bin/bbedit" ]]; then | |
export EDITOR="bbedit -w --resume" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment