Commit Graph

43 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
Justin Hileman
fa7a3a33a8 Merge pull request #289 from demidovakatya/master
Improve grammar and punctuation for docs/RU
2016-03-30 18:23:35 -07: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
Katya Demidova
f73002d99d Improve grammar and punctuaiton for docs/RU 2016-03-30 11:35:55 +03:00
Justin Hileman
d794969f23 Merge pull request #238 from VEINHORN/master
Add ru-RU docs
2016-03-24 01:13:27 -07:00
Derek Stavis
a52bd8564c docs: update Themes.md 2016-01-25 16:29:02 -02:00
Stephen Coakley
abe20318f9 Add chain theme to db 2016-01-20 17:30:02 -06:00
Katya Demidova
d01435bead Tiny improvements 2016-01-20 05:24:57 +03:00
VEINHORN
38a8c9b58b Update links 2016-01-19 22:44:54 +03:00
VEINHORN
1d8ac55521 Add several fixes to language menus 2016-01-17 19:44:26 +03:00
VEINHORN
79850c6b18 Update links in language menus 2016-01-17 19:38:56 +03:00
VEINHORN
ebb394318c Translate README to Russian 2016-01-17 19:32:43 +03:00
VEINHORN
db1e337179 Translate Packages to Russian 2016-01-17 18:40:11 +03:00
VEINHORN
b0fca32f5c Translate FAQ to Russian 2016-01-17 16:45:53 +03:00
Derek Stavis
63cfb33159 registry: Add lolfish theme 2016-01-16 12:02:57 -02:00
Hasan Ozgan
6f01f9b518 themes.md regenerate with script 2016-01-14 23:35:57 +02:00
Hasan Ozgan
fd1cd0f5f7 registry: add hasanozgan/theme-lambda 2016-01-14 04:49:56 +02:00
Hasan Ozgan
6582dde609 registry: add hasanozgan/theme-lambda 2016-01-14 00:01:32 +02:00
Itzik Ephraim
66a1dad908 Update theme docs (Themes.md) 2016-01-13 09:22:00 +02:00
Itzik Ephraim
1d79b83ae8 registry: add rafaelrinaldi/theme-pure 2016-01-12 22:58:56 +02:00
Bruno Pinto
d3760c487d Remove update instructions
Oh My Fish has been stable for many months, we no longer need the update
instructions on the main README.
2016-01-04 12:40:19 +00:00
Hyeon Kim
607f7603fd Update doc/Themes.md 2016-01-03 09:48:16 +09:00
Derek Stavis
ad00a83e37 README: Use SVG logo instead of PNG one
Use rawgit to serve assets with correct Content-Type.
2015-11-30 01:30:03 -02:00
Derek Stavis
e4f1c2e021 Logo: Fine-tune logo, add a optimized SVG file
- Complete redraw with pixel alignment by design
- Use a image size of 1024 x 1024px
- Base logo alignments on iOS 7 icon grid
- Use background corner rounding of 48px
- Optimize SVG file with svgo tool (minification)
2015-11-30 01:24:32 -02:00
haishanh
4a1ba2435f Update zh-CN README
- Add <Update Instructions>
 - Add <preview available Themes>
2015-11-08 03:12:03 +11:00
Pyry-Samuli Lahti
d27d32034d Add namespaces to generate-themes-doc.fish
* Resolves oh-my-fish/oh-my-fish#116
2015-11-03 17:42:19 +02:00
Umayr Shahid
71c5afa6a6 Add theme: Sushi 2015-10-19 19:44:55 +05:00
Derek Stavis
472c5e1eaf zh-CN/README: Remove src attribute from spacer 2015-10-03 17:21:16 -03:00
Derek Stavis
b2b46144ad zh-CN/README: Update header badges 2015-10-03 17:21:16 -03:00
Bruno Pinto
bc0d4847e8 Resolve #30: omf doctor command
In order to pro-actively diagnose an issue on someone's computer, a
`omf doctor' command is being added. This command will initially check
errors that could cause a theme to not be loaded, but in the future more
checks are going to be added to prevent issues from being created for
problems that are fixable by the Oh My Fish user alone.
2015-10-03 21:04:30 +01:00
Derek Stavis
792e3b7b72 install: Replace source by fish invocation 2015-10-02 20:50:39 -03:00
Derek Stavis
ddafb8c22f Update installation script instructions 2015-10-02 20:35:02 -03:00
Stephen Coakley
18679d866e Split custom "init.fish" into clearer "before.init.fish" and "init.fish" 2015-10-02 11:33:23 -05:00
PastLeo
32344b305c add pastfish theme and update theme-doc 2015-10-02 03:01:56 +08:00
Bruno Pinto
3069368dc5 Remove license from README 2015-09-29 18:50:54 +01: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
Pyry-Samuli Lahti
c97e1af4bc Add test-generate-themes-doc.fish
* Run with Travis CI, if commits contain changes to `db/themes`
* When run; fail build if `docs/Themes.md` is no longer up-to-date
2015-09-28 23:36:22 +03:00
Pyry-Samuli Lahti
5223031aea Add generate-themes-doc.fish
* Generates `docs/Themes.md` that can be used
  for preview available themes
2015-09-21 20:46:41 +03:00
Derek Stavis
6edd668884 docs: Rewrite package creation example 2015-09-07 00:11:46 -03:00
Derek Stavis
11d96d8c02 README: Move packages section to docs directory 2015-09-06 23:36:56 -03:00
Derek Stavis
76461696a3 README: Better HTML header, add logo to repository 2015-09-06 19:28:16 -03:00
Derek Stavis
fc126f71f6 FAQ: Move to docs directory 2015-09-06 02:21:31 -03:00