Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eternalize_bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if [ -f ${OLD_HISTORY} ]; then
fi

# OS X does not automatically run .bashrc, add it as source to .bash_profile.
if [ "${TERM_PROGRAM}" == "Apple_Terminal" ]; then
if which -s uname && [ $(uname) = "Darwin" ]; then
echo "OS X detected, adding source to ${BASH_RC} in .bash_profile"
echo source ~/${BASH_RC} >> .bash_profile
fi