Question

I want to create my own custom command for git but don't know where to put the file once I have created it. It will be a simple shell script file.

Was it helpful?

Solution

Just put it in some directory where the environment variable PATH points to (check with echo $PATH).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top