mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-20 01:42:45 +08:00
Merge pull request #539 from fish-shell/change-theme-on-new-theme
Change theme when creating a new theme
This commit is contained in:
commit
0fc2249b12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user