themes: fix minor syntax error

This commit is contained in:
Marc Cornellà 2020-04-05 17:14:48 +02:00
parent 6ad6fea52a
commit dbd16000a5

View file

@ -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)