-
Clone Repository to directory of choice.
-
Then create an alias to the .sh script.
$ vi ~/.bash_profile alias rock="/Users/<username>/Documents/hotlicks/rock.sh"
-
Reload your ~/.bash_profile
$ . ~/.bash_profile
-
Edit rock.sh
afplay /Users/<username>/Documents/hotlicks/guitar-riff.mp3
-
Run your script
$ rock