Having issues creating an alias for the 'open' function within my gitconfig file. I am aware the 'open' function is exclusive to MacOSX, but figure I could still create a function for it.
The purpose of my function is to open the PyCharm application with a file path supplied by the user.
Definitely need assistance, thanks advance!
Below is what I saved within the gitconfig file:
charm = open -na "PyCharm CE.app" --args
The error message I receive in return is:
expansion of alias 'charm' failed; 'open' is not a git command
What is interesting is if I type out the command with the file path I want to open it works fine. However, fails when trying to create an alias.