Commit Graph

7 Commits

Author SHA1 Message Date
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
sobolevn
1a2ac73c88 Fixed links in the english docs. There were broken links to the translated docs.
I have changed `docs/` to `../`, now it's fine.
2016-03-30 15:12:15 +03:00
Justin Hileman
d794969f23 Merge pull request #238 from VEINHORN/master
Add ru-RU docs
2016-03-24 01:13:27 -07:00
Katya Demidova
d01435bead Tiny improvements 2016-01-20 05:24:57 +03:00
VEINHORN
1d8ac55521 Add several fixes to language menus 2016-01-17 19:44:26 +03:00
icyleaf
639390b203 Added switch language menu 2015-09-29 18:48:12 +01:00
icyleaf
a40f3be16b Split doc file by i18n rule, add zh-CN docs 2015-09-29 18:48:12 +01:00