X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/852cd5fbddafbfed93df4cda8ba366b14922e95d..09c4bed5217e3f8d9d34e725f18ccad74e0c92fd:/bash_profile diff --git a/bash_profile b/bash_profile index 8c7dca6..1f0306c 100644 --- a/bash_profile +++ b/bash_profile @@ -59,7 +59,7 @@ __mdw_addto () { __mdw_conf () { local var=$1 val=`sed -n " - /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ { + /^[ ]*$var[ ]*=[ ]*\(\|.*[^ ]\)[ ]*$/ { s//\1/; p; q } " ${MDWCONF-$HOME/.mdw.conf}`