oh-my-fish/pkg/omf/cli/omf_list_themes.fish
2015-08-27 00:20:13 +09:00

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