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
Ohmyzsh
Commits
6b578392
Commit
6b578392
authored
Jan 05, 2021
by
Marc Cornellà
Browse files
fix(CLI): show symlinked themes in `omz theme list`
parent
64cb1530
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/cli.zsh
View file @
6b578392
...
...
@@ -359,8 +359,8 @@ EOF
function
_omz::theme::list
{
local
-a
custom_themes builtin_themes
custom_themes
=(
"
$ZSH_CUSTOM
"
/
**
/
*
.zsh-theme
(
.N:r:gs:
"
$ZSH_CUSTOM
"
/themes/:::gs:
"
$ZSH_CUSTOM
"
/:::
))
builtin_themes
=(
"
$ZSH
"
/themes/
*
.zsh-theme
(
.N:t:r
))
custom_themes
=(
"
$ZSH_CUSTOM
"
/
**
/
*
.zsh-theme
(
-
.N:r:gs:
"
$ZSH_CUSTOM
"
/themes/:::gs:
"
$ZSH_CUSTOM
"
/:::
))
builtin_themes
=(
"
$ZSH
"
/themes/
*
.zsh-theme
(
-
.N:t:r
))
# If the command is being piped, print all found line by line
if
[[
!
-t
1
]]
;
then
...
...
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