# You can't "export" your .bashrc to a .zshrc.
# .bashrc is a file that runs bash commands.
# .zshrc is a file that runs zsh commands.
# You can't expect zsh to be able to run the bash commands in your .bashrc,
# so you should convert it into a new .zshrc instead of trying to run .bashrc
# from .zshrc or copying the former into the latter.
# If you want a common shell initialization file for all your shells;
# use .profile (and remove .bashrc and .zshrc).
# It's sourced by all POSIX shells.
# And in there, stick to POSIX shell features only.
# Then that code will run in any POSIX shell.
# (Though, I'm not 100% certain that zsh is POSIX compliant).