Sample Environment Variables in bash_profile/bashrc. (See http://scriptingosx.com/2017/04/on-bash-environment-variables/ for details)
This file contains 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