mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-22 07:53:11 +08:00
Merge pull request #499 from rholak/master
fixes #496 Do not throw warnings when theme is not set
This commit is contained in:
commit
193ac424db
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user