The brute-force way to do this would be something like:
if [ $SHELL = /bin/zsh ]; then rc="$USER/.zshrc" elif [