mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-10 09:20:41 +01:00
dash: update dash bundle identifier (#7127)
This commit is contained in:
committed by
Marc Cornellà
parent
d5f0a0a413
commit
bf05bb3a1b
@@ -11,7 +11,7 @@ _dash() {
|
|||||||
# Use defaults to get the array of docsets from preferences
|
# Use defaults to get the array of docsets from preferences
|
||||||
# Have to smash it into one big line so that each docset is an element of
|
# Have to smash it into one big line so that each docset is an element of
|
||||||
# our DOCSETS array
|
# our DOCSETS array
|
||||||
DOCSETS=("${(@f)$(defaults read com.kapeli.dash docsets | tr -d '\n' | grep -oE '\{.*?\}')}")
|
DOCSETS=("${(@f)$(defaults read com.kapeli.dashdoc docsets | tr -d '\n' | grep -oE '\{.*?\}')}")
|
||||||
|
|
||||||
# remove all newlines since defaults prints so pretty like
|
# remove all newlines since defaults prints so pretty like
|
||||||
# Now get each docset and output each on their own line
|
# Now get each docset and output each on their own line
|
||||||
|
|||||||
Reference in New Issue
Block a user