mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
fix(CLI): show symlinked themes in omz theme list
This commit is contained in:
@@ -359,8 +359,8 @@ EOF
|
|||||||
|
|
||||||
function _omz::theme::list {
|
function _omz::theme::list {
|
||||||
local -a custom_themes builtin_themes
|
local -a custom_themes builtin_themes
|
||||||
custom_themes=("$ZSH_CUSTOM"/**/*.zsh-theme(.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::))
|
custom_themes=("$ZSH_CUSTOM"/**/*.zsh-theme(-.N:r:gs:"$ZSH_CUSTOM"/themes/:::gs:"$ZSH_CUSTOM"/:::))
|
||||||
builtin_themes=("$ZSH"/themes/*.zsh-theme(.N:t:r))
|
builtin_themes=("$ZSH"/themes/*.zsh-theme(-.N:t:r))
|
||||||
|
|
||||||
# If the command is being piped, print all found line by line
|
# If the command is being piped, print all found line by line
|
||||||
if [[ ! -t 1 ]]; then
|
if [[ ! -t 1 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user