While following multiple tutorials on some php frameworks I entered some commands in the terminal not really understanding what I was doing (creating aliases mainly…).
My problem is that when I start my terminal now I have some wierd things written and I do not have a single clue how to get those away. I know it is very vague but when trying to search in other posts, on internet and so forth and did not found or understud anything. Hope someone can help me moving forward. Thank you in advance.
Last login: Tue Dec 11 12:35:38 on ttys000
-bash: alias: -c: not found
-bash: alias: /Applications/MAMP/bin/php/php5.4.4/conf/php.ini: not foun
-bash: alias: -c: not found
-bash: alias: /Applications/MAMP/bin/php/php5.4.4/conf/php.ini: not found
-bash: alias: -c: not found
-bash: alias: /Applications/MAMP/bin/php/php5.4.4/conf/php.ini: not found
macbook-pro-de-my-name:~ someFolder$
It looks like you installed MAMP in history. Because of this you
.profilewas changed by MAMPs installation. Probably you un-installed MAMP after that but your.profileis still the same as after the installation. So you should delete the lines which are making problems.For editing
.profilejust typeopen -a TextEdit ~/.profileinto your Terminal.