fixes #496 Do not throw warnings when theme is not set

pull/2/head
Robert Holak 9 years ago
parent 12abcea5a1
commit 7d381d7cef

@ -42,11 +42,15 @@ function omf.packages --argument-names options -d 'Manage all plugins and themes
end
case '--list'
omf.log yellow 'Plugins: '
if test -n "$fish_plugins"
omf.log normal $fish_plugins
end
omf.log normal ''
omf.log yellow 'Theme: '
if test -n "$fish_theme"
omf.log normal $fish_theme
end
case '*'
omf.log red 'Unknown option'
end

Loading…
Cancel
Save