Commit 2564e744 authored by Wes Morgan's avatar Wes Morgan Committed by Jorge Bucaran

refresh after installing package or theme

The functions themselves no longer do that.
parent 718ba2fc
...@@ -57,6 +57,7 @@ function omf -d "Oh My Fish" ...@@ -57,6 +57,7 @@ function omf -d "Oh My Fish"
omf_list_db_packages | column omf_list_db_packages | column
else else
omf_install_package $argv[2..-1] omf_install_package $argv[2..-1]
refresh
end end
case "t" "theme" case "t" "theme"
...@@ -70,6 +71,7 @@ function omf -d "Oh My Fish" ...@@ -70,6 +71,7 @@ function omf -d "Oh My Fish"
else if test (count $argv) -eq 2 else if test (count $argv) -eq 2
omf_theme $argv[2] omf_theme $argv[2]
refresh
else else
echo (omf::err)"Invalid number of arguments"(omf::off) 1^&2 echo (omf::err)"Invalid number of arguments"(omf::off) 1^&2
echo "Usage: $_ "(omf::em)"$argv[1]"(omf::off)" [<theme name>]" 1^&2 echo "Usage: $_ "(omf::em)"$argv[1]"(omf::off)" [<theme name>]" 1^&2
......
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