Commit 0fc2249b authored by Jorge Bucaran's avatar Jorge Bucaran

Merge pull request #539 from fish-shell/change-theme-on-new-theme

Change theme when creating a new theme
parents 251a77af 2222db74
......@@ -27,6 +27,11 @@ function omf.new -a option name
$github $user $name
echo (omf::em)"Switched to $dir"(omf::off)
if test "$option" = themes
omf.theme $name
refresh
end
else
echo (omf::err)"\$OMF_CONFIG and/or \$OMF_PATH undefined."(omf::off) 1^&2
exit $OMF_UNKNOWN_ERR
......
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