summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCarver Schmidt <46279291+carverschmidt@users.noreply.github.com>2019-12-28 11:01:26 -0600
committerMarc Cornellà <marc.cornella@live.com>2019-12-28 18:01:26 +0100
commit31219c02463f1f57271a3d336b4c25b9902ca4ad (patch)
tree9947bb3ea67bca10fef8082838d1078d1bf97a5b /plugins
parentcf9aa420d6bc48cd8780a58b7cff854add0f3897 (diff)
downloadzsh-31219c02463f1f57271a3d336b4c25b9902ca4ad.tar.gz
zsh-31219c02463f1f57271a3d336b4c25b9902ca4ad.tar.bz2
zsh-31219c02463f1f57271a3d336b4c25b9902ca4ad.zip
osx: fix exit on quit command in spotify function (#8504)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/osx/spotify2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/osx/spotify b/plugins/osx/spotify
index 78d6c7d0f..6233d813d 100644
--- a/plugins/osx/spotify
+++ b/plugins/osx/spotify
@@ -307,7 +307,7 @@ while [ $# -gt 0 ]; do
"quit" ) cecho "Quitting Spotify.";
osascript -e 'tell application "Spotify" to quit';
- exit 0 ;;
+ break ;;
"next" ) cecho "Going to next track." ;
osascript -e 'tell application "Spotify" to next track';