mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Added file checks on music and spotify scripts for use with zinit
This commit is contained in:
parent
58cba61465
commit
bc95146445
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue