I have python3 installed in my mac and I have alias python='python3' in my .zshrc file.
I have a bash script looks like:
#!/bin/bash
python -c "print(123)"
But running the above script does not recognize python. How can I let bash recognize python without changing the script file?
I added alias python='python3' to .bashrc and .bash_profile, but it didn't work.