if echo "$0" | grep -e '^\-' >/dev/null 2>&1; then echo "login shell."; else echo "non-login shell."; fi
