Added conditions to hide/show parts based on config settings

Added in individual conditions to check each configuration option
to determine if that section of the prompt should be displayed.

The configuration settings are backwards from boolean logic for
Bash. To enable a setting, set it to 1, to disable, set it to 0.