Commit Graph

91 Commits

Author SHA1 Message Date
Stephen M. Coakley
9aae289714 ~ expansion and always setup config in multiple installs (#381) 2016-08-08 12:11:18 -05:00
Stephen M. Coakley
9fa56cf1a2 Tweak readme (#380) 2016-08-08 09:52:38 -05:00
Stephen M. Coakley
cfe8e769db Refactor installer and config setup (#361)
Refactor the installer to be more maintainable and interactive. The installer is now more robust and safe in its operation, and asks interactive questions for choices that the user must resolve. Setting up confuguration is also now changed to take advantage of Fish 2.3 features and does not mess with user's configuration files without permission.

- Make installer smarter and use uninstaller in destroy
- Better handling and checking for offline installs
- `omf destroy` simply uses `install --uninstall`
- Final warning message is no longer displayed when user intentionally aborts install
- Backups are restored during uninstall
- Update the README to detail the new ways to install OMF
2016-08-08 09:00:17 -05:00
Stephen M. Coakley
48ace42188 Add keybindings file to dotfiles list (#378)
Fixes #377
2016-08-04 09:06:12 -05:00
Derek Willian Stavis
7c3db938c2 docs: improve headers, use flag emojis for translations (#370) 2016-07-24 01:25:01 -03:00
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
Luís Fiolhais
15e9af84b1 Search Function (#314)
Add new search command
2016-05-11 13:29:50 -05:00
Luís Fiolhais
0335a806f1
Small Readme Fixes 2016-04-27 19:36:00 +01:00
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
2016-03-24 18:43:23 -03:00
Justin Hileman
d794969f23 Merge pull request #238 from VEINHORN/master
Add ru-RU docs
2016-03-24 01:13:27 -07:00
Itzik Ephraim
fa24e67633 Allow selective updates 2016-03-13 11:44:45 +02:00
Katya Demidova
d01435bead Tiny improvements 2016-01-20 05:24:57 +03:00
Katya Demidova
d1ec4d7040 Link to docs/packages#uninstall 2016-01-20 05:24:16 +03:00
Katya Demidova
3875132b82 Minor Readme fixes
some grammar/punctuation mistakes
2016-01-20 05:24:16 +03:00
VEINHORN
79850c6b18 Update links in language menus 2016-01-17 19:38:56 +03: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
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
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.
2015-11-28 01:10:56 +01:00
Johnny Robeson
e5997f211e Add https:// to curl calls in README and install script 2015-10-20 18:17:49 -04:00
Bruno
8f63330269 Fix broken documentation link
Fix #101
2015-10-06 03:14:53 +01: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
icyleaf
639390b203 Added switch language menu 2015-09-29 18:48:12 +01:00
Bruno
c99b5fed59 Merge pull request #66 from derekstavis/patch-1
README: add custom config file documentation
2015-09-27 17:47:13 +01:00
Derek Willian Stavis
1be472aa86 README: add custom config file documentation
Addresses #40 by briefly documenting init.fish file.
2015-09-27 01:15:49 -03:00
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.
2015-09-26 20:22:40 -07:00
Bruno
ca05effd55 Removing license from README 2015-09-27 01:03:45 +01:00
Bruno
3d2a945705 Replace gitter with slack
We are using slackin (https://github.com/rauchg/slackin) to automatically accept people's invitation.
2015-09-26 19:25:02 +01: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 Willian Stavis
4e221d0e18 README: Include update instructions 2015-09-21 11:35:24 -03:00
Derek Stavis
b0b26fa8ad README: Add copyright to license section 2015-09-07 00:12:03 -03:00
Derek Stavis
0a56f52255 README: Better startup script description 2015-09-07 00:12:03 -03:00
Derek Stavis
0e01737aa0 README: Add two more levels to comands headings 2015-09-07 00:12:03 -03:00
Derek Stavis
973766526b README: Remove emoji from section titles 2015-09-07 00:12:03 -03:00
Derek Stavis
468fe44067 README: Remove uninstall link from omf destroy section 2015-09-07 00:12:03 -03:00
Derek Stavis
fa1efa2729 README: Adjust packages uninstall link 2015-09-07 00:12:03 -03:00
Derek Stavis
e0c5f026de README: Use bundle in singular form 2015-09-07 00:12:02 -03:00
Derek Stavis
7c9b4713de README: Fix omf command line specification 2015-09-07 00:12:02 -03:00
Derek Stavis
491eab7526 README: Better omf update description 2015-09-07 00:12:02 -03:00
Derek Stavis
fe99f91211 README: Add creating packages section 2015-09-07 00:12:02 -03:00
Derek Stavis
b10fc50b1f README: Remove core library section 2015-09-07 00:12:02 -03:00
Derek Stavis
5ac28b4f9e README: Remove TOC from advanced section 2015-09-07 00:12:02 -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
Bruno Pinto
ae0e4388b6 Back to oh-my-fish organization 2015-09-03 19:35:19 +01:00
Bruno Pinto
4e980b2ac4 Remove merge warning 2015-09-03 19:25:02 +01:00
Derek Stavis
135707b3d1 README: add a section documenting dotfiles usage 2015-08-31 20:39:54 -03:00
Derek Stavis
ce8b0d9df9 README: update doc to reflect install command changes 2015-08-31 20:39:54 -03:00