Commit 193ac424 authored by Bruno's avatar Bruno

Merge pull request #499 from rholak/master

fixes #496 Do not throw warnings when theme is not set
parents 12abcea5 7d381d7c
...@@ -42,11 +42,15 @@ function omf.packages --argument-names options -d 'Manage all plugins and themes ...@@ -42,11 +42,15 @@ function omf.packages --argument-names options -d 'Manage all plugins and themes
end end
case '--list' case '--list'
omf.log yellow 'Plugins: ' 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 normal ''
omf.log yellow 'Theme: ' omf.log yellow 'Theme: '
omf.log normal $fish_theme if test -n "$fish_theme"
omf.log normal $fish_theme
end
case '*' case '*'
omf.log red 'Unknown option' omf.log red 'Unknown option'
end 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