Do not define POWERLINE_COMMAND when not using prompt

To be consistent with fish and bash
Merge pull request #927 from ZyX-I/move-POWERLINE_COMMAND

Do not define POWERLINE_COMMAND when not using prompt