Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
31219c02
Commit
31219c02
authored
Dec 28, 2019
by
Carver Schmidt
Committed by
Marc Cornellà
Dec 28, 2019
Browse files
osx: fix exit on quit command in spotify function (#8504)
parent
cf9aa420
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/osx/spotify
View file @
31219c02
...
@@ -307,7 +307,7 @@ while [ $# -gt 0 ]; do
...
@@ -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'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment