mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-05 08:30:50 +08:00
9 lines
216 B
Fish
9 lines
216 B
Fish
|
function omf_list_themes
|
||
|
set -l seen ""
|
||
|
for theme in (basename $OMF_PATH/db/themes/*) \
|
||
|
(basename {$OMF_PATH,$OMF_CUSTOM}/themes/*)
|
||
|
contains $theme $seen; or echo $theme
|
||
|
set seen $seen $theme
|
||
|
end
|
||
|
end
|