Use SUDO_COMMAND to check for sudo
Use SUDO_COMMAND to check for sudo

`sudo -n true` only checks that we _could_ use `sudo`, not if we are in
a sudo session.

closes #852

dritter/powerlevel9k,dritter/powerlevel9k,bhilburn/powerlevel9k,bhilburn/powerlevel9k