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
dbd16000
Commit
dbd16000
authored
Apr 05, 2020
by
Marc Cornellà
Browse files
themes: fix minor syntax error
parent
6ad6fea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/themes/themes.plugin.zsh
View file @
dbd16000
...
@@ -27,7 +27,7 @@ function lstheme {
...
@@ -27,7 +27,7 @@ function lstheme {
# Show themes inside $ZSH_CUSTOM (in any subfolder)
# Show themes inside $ZSH_CUSTOM (in any subfolder)
# Strip $ZSH_CUSTOM/themes/ and $ZSH_CUSTOM/ from the name, so that it matches
# Strip $ZSH_CUSTOM/themes/ and $ZSH_CUSTOM/ from the name, so that it matches
# the value that should be written in $ZSH_THEME to load the theme.
# the value that should be written in $ZSH_THEME to load the theme.
print
-l
"
$ZSH_CUSTOM
"
/
**
/
*
.zsh-theme
(
.N:r:gs:
"
$ZSH_CUSTOM
"
/themes/:::gs:
"
$ZSH_CUSTOM
"
/:::
)
\
print
-l
"
$ZSH_CUSTOM
"
/
**
/
*
.zsh-theme
(
.N:r:gs:
"
$ZSH_CUSTOM
"
/themes/:::gs:
"
$ZSH_CUSTOM
"
/:::
)
# Show themes inside $ZSH, stripping the head of the path.
# Show themes inside $ZSH, stripping the head of the path.
print
-l
"
$ZSH
"
/themes/
*
.zsh-theme
(
.N:t:r
)
print
-l
"
$ZSH
"
/themes/
*
.zsh-theme
(
.N:t:r
)
...
...
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