While experimenting with oh-my-zsh and zsh, I managed to delete terminal com.apple.terminal.*, .bash_profile.
After fixing everything, my terminal is not recognising any command. When I type npm, it shows:
-bash: npm: command not found
So does for all other installed packages like dotnet core.
Is there any way to fix it?