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
Oh My Zsh
Commits
bf05bb3a
Commit
bf05bb3a
authored
Sep 12, 2018
by
Garth Mortensen
Committed by
Marc Cornellà
Sep 12, 2018
Browse files
dash: update dash bundle identifier (#7127)
parent
d5f0a0a4
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/dash/dash.plugin.zsh
View file @
bf05bb3a
...
@@ -11,7 +11,7 @@ _dash() {
...
@@ -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.dash
doc
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
...
...
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