Commit 7d381d7c authored by Robert Holak's avatar Robert Holak

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

parent 12abcea5
......@@ -42,11 +42,15 @@ function omf.packages --argument-names options -d 'Manage all plugins and themes
end
case '--list'
omf.log yellow 'Plugins: '
omf.log normal $fish_plugins
if test -n "$fish_plugins"
omf.log normal $fish_plugins
end
omf.log normal ''
omf.log yellow 'Theme: '
omf.log normal $fish_theme
if test -n "$fish_theme"
omf.log normal $fish_theme
end
case '*'
omf.log red 'Unknown option'
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment