X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bash_profile;h=6fe0759a4575e80ef646ccf8a3a6cca7a9082ba0;hp=a89f59ecac233d480a6a742c1f3f071f347a846d;hb=56d7364df9209bffe2ca58df0474e2555b75cb45;hpb=b3abab8e9a298891172dc896672efe857410ae98 diff --git a/.bash_profile b/.bash_profile index a89f59e..6fe0759 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,4 +1,4 @@ -if tty -s || [ "${0:0:1}" = "-" -o "$1" = "force" ]; then +if [ -t 0 -o "${0:0:1}" = "-" -o "$1" = "force" ]; then # Remember if nocaseglob was on. shopt -q nocaseglob nocg=$?