Test for an interactive shell in Bash