Upon loading my terminal (since trying to install composer globally) I'm being spammed with countless amounts of -bash: 1: command not found before I even type any commands.
I'm not quite sure what to do, but this is all that happens, I load up terminal and get;
-bash: 1: command not found
-bash: 1: command not found
-bash: 1: command not found
-bash: 1: command not found
for an unlimited amount of times until I close the terminal.
Can anyone help me fix the issue, or reset my terminal, or anything?
Update:
Trying to run rm -i ~/.profile ~/zsh* ~/.bash* like advised in the comments I got the below:
-rm: ~/.profile: No such file or directory
-rm: ~/zsh*: No such file or directory
-rm: ~/.bash*: No such file or directory
I still get the command not found error.