mirror of https://github.com/ohmyzsh/ohmyzsh.git
osx: fix exit on quit command in spotify function (#8504)
parent
cf9aa420d6
commit
31219c0246
|
@ -307,7 +307,7 @@ while [ $# -gt 0 ]; do
|
||||||
|
|
||||||
"quit" ) cecho "Quitting Spotify.";
|
"quit" ) cecho "Quitting Spotify.";
|
||||||
osascript -e 'tell application "Spotify" to quit';
|
osascript -e 'tell application "Spotify" to quit';
|
||||||
exit 0 ;;
|
break ;;
|
||||||
|
|
||||||
"next" ) cecho "Going to next track." ;
|
"next" ) cecho "Going to next track." ;
|
||||||
osascript -e 'tell application "Spotify" to next track';
|
osascript -e 'tell application "Spotify" to next track';
|
||||||
|
|
Loading…
Reference in New Issue