Commit Graph

86 Commits (omf-install-tests)

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
8 years ago
Luís Fiolhais 15e9af84b1 Search Function (#314)
Add new search command
8 years ago
Luís Fiolhais 0335a806f1
Small Readme Fixes 8 years ago
Derek Stavis a716badfd4 Implement safe shell reloading inside omf plugin
This commit adds an improved reload code for Oh My Fish, besides
saving the history now the reloading technique keeps directory
history and stack and clears fish_greeting, for a transparent
transition.

The reloading code is now safe regarding to background jobs. exec
wipes fish job control, so the user-facing code under the (just-
introduced by this commit) `omf reload` command is kept safe by a
warning. For testing purposes, `omf update` and `omf remove` rolls
automatic refresh only when `OMF_AUTO_RELOAD` variable is set.

Recap of the commit:
- Add improved reload code (omf.reload)
- Add a safe reload code (omf.cli.reload)
- Add `omf reload` command
- Add opt-in reload to `omf update` and `omf remove` commands
8 years ago
Justin Hileman d794969f23 Merge pull request #238 from VEINHORN/master
Add ru-RU docs
8 years ago
Itzik Ephraim fa24e67633 Allow selective updates 8 years ago
Katya Demidova d01435bead Tiny improvements 9 years ago
Katya Demidova d1ec4d7040 Link to docs/packages#uninstall 9 years ago
Katya Demidova 3875132b82 Minor Readme fixes
some grammar/punctuation mistakes
9 years ago
VEINHORN 79850c6b18 Update links in language menus 9 years ago
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.
9 years ago
Derek Stavis ad00a83e37 README: Use SVG logo instead of PNG one
Use rawgit to serve assets with correct Content-Type.
9 years ago
Marek Šuppa 3acfb0d9fc readme: Fix wrong link to FAQ
* The English README.md had a link to FAQ that does not work anymore
  given that it has been localized to `zh-CN` too. This commit makes
  sure that the link to FAQ in the English article points to the correct
  part of the correct file.
9 years ago
Johnny Robeson e5997f211e Add https:// to curl calls in README and install script 9 years ago
Bruno 8f63330269 Fix broken documentation link
Fix #101
9 years ago
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.
9 years ago
Derek Stavis 792e3b7b72 install: Replace source by fish invocation 9 years ago
Derek Stavis ddafb8c22f Update installation script instructions 9 years ago
Stephen Coakley 18679d866e Split custom "init.fish" into clearer "before.init.fish" and "init.fish" 9 years ago
icyleaf 639390b203 Added switch language menu 9 years ago
Bruno c99b5fed59 Merge pull request #66 from derekstavis/patch-1
README: add custom config file documentation
9 years ago
Derek Willian Stavis 1be472aa86 README: add custom config file documentation
Addresses #40 by briefly documenting init.fish file.
9 years ago
Nelson Chen 8fcb1cf0c0 Remove src attribute from spacer image in the README
Spacer still works just as good.

This will make Chrome and its siblings not display a broken image placeholder
in the spacer.

Confirmed OK on Firefox and Safari.
9 years ago
Bruno ca05effd55 Removing license from README 9 years ago
Bruno 3d2a945705 Replace gitter with slack
We are using slackin (https://github.com/rauchg/slackin) to automatically accept people's invitation.
9 years ago
Pyry-Samuli Lahti 5223031aea Add generate-themes-doc.fish
* Generates `docs/Themes.md` that can be used
  for preview available themes
9 years ago
Derek Willian Stavis 4e221d0e18 README: Include update instructions 9 years ago
Derek Stavis b0b26fa8ad README: Add copyright to license section 9 years ago
Derek Stavis 0a56f52255 README: Better startup script description 9 years ago
Derek Stavis 0e01737aa0 README: Add two more levels to comands headings 9 years ago
Derek Stavis 973766526b README: Remove emoji from section titles 9 years ago
Derek Stavis 468fe44067 README: Remove uninstall link from `omf destroy` section 9 years ago
Derek Stavis fa1efa2729 README: Adjust packages uninstall link 9 years ago
Derek Stavis e0c5f026de README: Use bundle in singular form 9 years ago
Derek Stavis 7c9b4713de README: Fix omf command line specification 9 years ago
Derek Stavis 491eab7526 README: Better omf update description 9 years ago
Derek Stavis fe99f91211 README: Add creating packages section 9 years ago
Derek Stavis b10fc50b1f README: Remove core library section 9 years ago
Derek Stavis 5ac28b4f9e README: Remove TOC from advanced section 9 years ago
Derek Stavis 11d96d8c02 README: Move packages section to docs directory 9 years ago
Derek Stavis 76461696a3 README: Better HTML header, add logo to repository 9 years ago
Bruno Pinto ae0e4388b6 Back to oh-my-fish organization 9 years ago
Bruno Pinto 4e980b2ac4 Remove merge warning 9 years ago
Derek Stavis 135707b3d1 README: add a section documenting dotfiles usage 9 years ago
Derek Stavis ce8b0d9df9 README: update doc to reflect install command changes 9 years ago
Dan Underwood 92c51768e0 Grammar 9 years ago
Dan Underwood 682acf77b5 Link to the FAQ to reduce ambiguity in README section on custom configuration. 9 years ago
Justin Hileman 0359ba047c Merge `$OMF_CONFIG` and `$OMF_CUSTOM`.
Per conversation with @bpinto in Gitter.

There's no need for two separate directories. You don't have a `.git` and `.git-custom` folder, you just put your config in `.git` :)

The most straightforward interpretation of XDG basedir spec is that user configuration for omf would go in `~/.config/omf`, so let's put it there. The only question is whether omf-generated config (i.e. the `theme` file) should go there as well. By analogy with git, programmatically generated config should probably be merged in with user config. This also makes it so when a user clones their dotfiles to a new machine, both kinds of settings come with it.
9 years ago
Bruno Pinto aa8a770dea Forgot to rename get to install on README 9 years ago
Bruno Pinto a9df3e1e98 Rename `omf use` to `omf theme`.
The first time I saw `use`, I thought I could use the command for
everything, including packages, but it's only used for themes. So, it's
better to have a clearer name.
9 years ago