PS1 prompt detection for root