Closed dmccaffery closed 3 years ago
Oh man I've seen people do this. Would it make sense to do something like:
echo "${CLR_BRIGHT_BLUE}"
echo "\$SHELL set to: $SHELL"
echo "${CLR_CLEAR}"
echo "${CLR_SUCCESS}"
echo "##############################################################################"
echo "##############################################################################"
echo " PLEASE RUN: exec -l \$SHELL"
echo "##############################################################################"
echo "##############################################################################"
echo "${CLR_CLEAR}"
That way it's clear what the value of $SHELL
is and it's out of the comment asking the user to take action.
I don't know that it makes sense to remove printing $SHELL
because depending on how prompt was installed a user could end up changing their default shell.
If someone copies the entire command (including the comment containing the expected shell path), then an error will be reported.
We should remove (or move) the path as its unclear whether or not that should be copied.