mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 15:04:53 +08:00
Merge pull request #46 from jeremiejig/fixissue#45
omf.bundle.install: Fix #45 by using `name_or_url` instead of `name`
This commit is contained in:
commit
1ed78d2418
|
@ -14,12 +14,12 @@ function omf.bundle.install
|
|||
switch $type
|
||||
case "package"
|
||||
if not contains $name $packages
|
||||
omf.install --pkg $name
|
||||
omf.install --pkg $name_or_url
|
||||
end
|
||||
|
||||
case "theme"
|
||||
if not contains $name $themes
|
||||
omf.install --theme $name
|
||||
omf.install --theme $name_or_url
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user