I was able to simply change music to amusic in zshMusic.zsh to get it to work.
I would recommend either renaming the music function so it does not conflict with a popular OhMyZsh plugin or contributing your work to the macos plugin as it looks like yours has more functionality.
Also, there is a typo in tthe README - source ~/add-to-your-.zshrc/zshMusic/zshmusic.zsh should be source ~/add-to-your-.zshrc/zshMusic/zshMusic.zsh (capitalize the M).
I love this kind of thing. Good work.
However, the
music
function already exists in themacos
plugin for Zssh at https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/macosI was able to simply change
music
toamusic
inzshMusic.zsh
to get it to work.I would recommend either renaming the
music
function so it does not conflict with a popularOhMyZsh
plugin or contributing your work to themacos
plugin as it looks like yours has more functionality.Also, there is a typo in tthe README -
source ~/add-to-your-.zshrc/zshMusic/zshmusic.zsh
should besource ~/add-to-your-.zshrc/zshMusic/zshMusic.zsh
(capitalize theM
).Thanks for this cool tool!