mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 07:40:07 +00:00
osx: fix exit on quit command in spotify function (#8504)
This commit is contained in:
parent
cf9aa420d6
commit
31219c0246
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue