-
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
alloyking / hotlicks Goto Github PK
View Code? Open in Web Editor NEWTerminal Rock Riff