Check PS1/PROMPT_COMMAND/trap for simple variable references