1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-07 21:18:01 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Michael Darrin Tisdale
5b4b54324c
Merge bc95146445 into 1b4497fc8f 2025-12-06 18:30:14 +01:00
Darrin Tisdale
bc95146445 Added file checks on music and spotify scripts for use with zinit 2025-09-22 12:06:51 -04:00

View File

@ -310,7 +310,7 @@ _freespace() {
compdef _freespace freespace
# Music / iTunes control function
source "${0:h:A}/music"
[[ -f "${0:h:A}/music" ]] && source "${0:h:A}/music"
# Spotify control function
source "${0:h:A}/spotify"
[[ -f "${0:h:A}/spotify" ]] && source "${0:h:A}/spotify"