mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
themes: fix minor syntax error
This commit is contained in:
parent
6ad6fea52a
commit
dbd16000a5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue