Split into init.fish and omf.fish files

This commit is contained in:
Bruno Pinto 2015-09-30 21:35:34 +01:00
parent 30ab05445d
commit e2a7f7d229
2 changed files with 3 additions and 4 deletions

3
pkg/omf/init.fish Normal file
View File

@ -0,0 +1,3 @@
function init -a path --on-event init_omf
autoload $path/cli $path/util
end

View File

@ -29,10 +29,6 @@ function omf::off
set_color normal
end
function init -a path --on-event init_omf
autoload $path/cli $path/util
end
function omf -d "Oh My Fish"
if test (count $argv) -eq 0
omf.help "main"; and return 0