Commit d091d42f authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Support older versions of bash lacking [ -v ... ]

parent 232d669d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
[ -z "$PS1" ] && return

# Make sure bash_profile has been sourced
if ! [ -v BASH_PROFILE_LOADED ]; then
if [ -z "$BASH_PROFILE_LOADED" ]; then
	. ~/.bash_profile
	return # bash_profile sources this file
fi