Commit 1ab8a20b authored by Bruno Pinto's avatar Bruno Pinto

Fix #8: Fishy plugin template

parent 520d5979
...@@ -16,7 +16,7 @@ function require -a name ...@@ -16,7 +16,7 @@ function require -a name
and return 0 and return 0
for path in {$OMF_PATH,$OMF_CONFIG}/pkg/$name for path in {$OMF_PATH,$OMF_CONFIG}/pkg/$name
if autoload $path $path/completions if autoload $path $path/functions $path/completions
source $path/init.fish ^/dev/null; source $path/init.fish ^/dev/null;
or source $path/$name.fish ^/dev/null; or source $path/$name.fish ^/dev/null;
......
...@@ -5,14 +5,6 @@ ...@@ -5,14 +5,6 @@
# Options # Options
# #
function init -a path --on-event init_{{NAME}}
end
function {{NAME}} -d "My package" function {{NAME}} -d "My package"
end end
function uninstall --on-event uninstall_{{NAME}}
end
function init -a path --on-event init_{{NAME}}
end
function uninstall --on-event uninstall_{{NAME}}
end
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