oh-my-fish/pkg/omf
Derek Willian Stavis a164ebdd5d init: rewrite init process (#260)
* init: rewrite init process

Now use pure globbing to generate 100% valid function and
completion paths, effectively splitting the init process in two
steps, one which paths are added, and other when initialization
is done (sourcing init).

This initialization code introduces a new interface for
`init.fish` hook, which deprecates the previously used event
model. The new interface injects three variables into `init.fish`:
path, package and bundle. This variables can be used by the
package to autoload paths, use bundled files, etc.

Also supports key bindings by sourcing
$OMF_CONFIG/key_bindings.fish and also key_bindings.fish in
packages (plugins and themes) root directories. This is done
when fish_user_key_bindings is called.

* omf: migrate to new init hook

* omf/templates: migrate to new init and uninstall hooks

* docs: document new init and uninstall hooks interface

* README: update new hook interface spec
2016-06-01 01:09:38 -03:00
..
completions Search Function (#314) 2016-05-11 13:29:50 -05:00
functions list: refactor code, fix fish 2.3.0 globs (#325) 2016-05-31 18:16:02 -03:00
spec Basic omf tests 2015-12-19 11:46:09 +00:00
templates init: rewrite init process (#260) 2016-06-01 01:09:38 -03:00
init.fish init: rewrite init process (#260) 2016-06-01 01:09:38 -03:00
omf.bundle.install.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00
omf.packages.install.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00
omf.packages.list.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00
omf.packages.name.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00
omf.repo.pull.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00
omf.update.fish Reorganize omf plugin structure 2016-01-09 18:59:54 -02:00