I have a script called gd
and it's in a folder on my PATH, when trying to run it, I noticed it wasn't doing what it was supposed to. Then I tried type gd
and it shows:
gd is an alias for git diff
I don't believe I set this alias, and I do not see it in my ~/.zshrc
, is there a way to figure out where this alias is being set and remove it?
Edit:
Also I am on a Mac if that changes things
Edit 2:
So for now I just added a new alias to the bottom of my ~/.zshrc called gd that points to my script which is now overriding the other alias... though I'd still like to know where that alias is coming from