mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-02 19:05:15 +08:00
omf install: Don't refresh when nothing installed
This commit is contained in:
parent
e234aab3c6
commit
7ccdada8c6
|
@ -79,10 +79,12 @@ function omf -d "Oh My Fish"
|
|||
omf.bundle.install
|
||||
else
|
||||
for package in $argv[2..-1]
|
||||
omf.install $package
|
||||
if omf.install $package
|
||||
set refresh
|
||||
end
|
||||
end
|
||||
|
||||
refresh
|
||||
set -q refresh; and refresh
|
||||
end
|
||||
|
||||
case "l" "ls" "list"
|
||||
|
|
Loading…
Reference in New Issue
Block a user