mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-02 19:25:17 +08:00
Split into init.fish and omf.fish files
This commit is contained in:
parent
30ab05445d
commit
e2a7f7d229
3
pkg/omf/init.fish
Normal file
3
pkg/omf/init.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function init -a path --on-event init_omf
|
||||
autoload $path/cli $path/util
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user