Open ahemed-haneen opened 4 years ago
I replaced source ~/.bash_profile;
with:
if [ -n "$ZSH_VERSION" ]; then
source ~/.zshrc;
elif [ -n "$BASH_VERSION" ]; then
source ~/.bash_profile;
else
echo 'unknown shell'
fi
I replaced
source ~/.bash_profile;
with:if [ -n "$ZSH_VERSION" ]; then source ~/.zshrc; elif [ -n "$BASH_VERSION" ]; then source ~/.bash_profile; else echo 'unknown shell' fi
Thanks for the suggestion. Though your fork looks scary (very elaborate) , I followed your suggestions and now have a customised version of the same for my use cases.
Is there a installation script for zsh as from catalina onwards zsh is being used instead of bash...right?