Commit Graph

1576 Commits

Author SHA1 Message Date
Stephen M. Coakley
30dd81a4d9 Some gardening on the plugin tree (#383) 2016-08-10 10:09:15 -05:00
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
76045bbe95 CONTRIBUTING: give some fresh air (#373)
gives some fresh air to contributing, reflecting more our current style and redaction.
2016-08-03 08:46:55 -03:00
Derek Willian Stavis
8f814ba4e0 chore: bump LICENSE year (#371) 2016-07-24 01:32:25 -03: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
1d0e9aa4c7 lib/README: cleanup, better document require (#369) 2016-07-23 22:27:36 -03:00
Derek Willian Stavis
fcc9d4dc0a key bindings: test if reload function is available (#368)
This fixes a rare case when fish's builtin function
__fish_reload_key_bindings is not defined.
2016-07-23 20:49:42 -03:00
Derek Willian Stavis
8aa8acb027 lib/git: fix branch name in detached head (#366) 2016-07-22 13:27:38 -03:00
Stephen M. Coakley
e4bd035f15 Fix omf update exit status (#365) 2016-07-18 20:25:02 -03:00
Stephen M. Coakley
818fdc954d Add Spark to package database (#364) 2016-07-18 18:17:08 -05:00
Stephen M. Coakley
e9fb8ff3db Add hooks system for packages (#286) 2016-07-18 17:57:54 -05:00
Derek Willian Stavis
f099e76f58 registry: add package "mou" (#363) 2016-07-15 08:12:43 -05:00
Sergey Timanin
7537186efe Add virtualfish plugin to the registry (#360)
* Add virtualfish plugin to the registry
2016-07-12 17:09:14 -03:00
Stephen M. Coakley
ae00f45afa Add change log and update authors list (#359) 2016-07-10 00:28:37 -05:00
Stephen M. Coakley
8ce0f3bd50 Align help text to use less extra space (#356) 2016-07-05 22:30:27 -05:00
Derek Willian Stavis
da36946eca Merge pull request #355 from oh-my-fish/fix-double-key-bindings-load
Fix double key bindings load
2016-07-05 11:17:25 -03:00
Derek Stavis
9eb496de86 init: read theme again on key bindings reload 2016-07-05 09:23:38 -03:00
Derek Stavis
ac9b419825 init: don't try to double backup key bindings 2016-07-05 09:23:10 -03:00
John Rizzo
f79cd11899 Update Packages.md (#354)
Fixed spelling error
2016-06-28 19:53:16 -03:00
Itzik Ephraim
9abb8339c1 Add "sudope" to the registry (#352) 2016-06-28 11:53:09 -03:00
Stephen M. Coakley
6192219471 Add docker-machine plugin (#351) 2016-06-16 09:20:10 -05:00
Stephen M. Coakley
228ef9aafe Evaluate OMF_PATH at init time to fix #136 (#348) 2016-06-15 15:20:49 -03:00
Stephen M. Coakley
6c373d89ec Fix Travis integration (#349) 2016-06-15 12:47:39 -05:00
Derek Willian Stavis
7ed9fd6b4d docs/packages: better documentation (#345)
makes package docs better by refreshing hooks documentation
and also contributing process.
2016-06-14 22:20:04 -03:00
Pedro Medeiros
ab02f52d17 Update peco repo (#346)
When I upgraded my omf peco stopped to work I had to change the repo to this one that seems the one the is currently maintainable.
2016-06-14 22:07:43 -03:00
Derek Willian Stavis
4691b92dab require: fix completions autoload (#343) 2016-06-07 21:27:14 -03:00
Derek Willian Stavis
86350683be registry: add proxy package (#342) 2016-06-07 17:39:18 -03:00
Wild Kat
c58b9f3383 Change ssh-term-helper repository prefix from pkg to plugin to meet new convention (#338) 2016-06-05 10:08:55 -03:00
Derek Willian Stavis
5095b5ba31 destroy: fix glob behavior on fish 2.3.0 (#327) 2016-06-05 00:30:56 -03:00
Derek Willian Stavis
0ca26d01e2 Fix theme key bindings (#334)
* init: load only key bindings from current theme

* theme: reload key bindings on theme change
2016-06-03 18:13:16 -03:00
Douglas Camata
065bc9c649 Adds the exenv package (#336) 2016-06-03 17:27:51 -03:00
Pablo Santiago Blum de Aguiar
db66200ca9 templates: use plugin for plugins and theme for themes 2016-06-03 14:00:20 -03:00
Pablo Santiago Blum de Aguiar
befebda9f2 templates: consistently use newlines before sections 2016-06-03 14:00:20 -03:00
Pablo Santiago Blum de Aguiar
7a815f32f0 templates: use https for all links 2016-06-03 14:00:20 -03:00
Luís Fiolhais
9afb439844 Fix autoload functions (#335) 2016-06-03 12:45:23 -03:00
Luís Fiolhais
780c833cb4 Inspect $FISH_VERSION variable instead of $version 2016-06-02 11:16:46 +01:00
Pablo Aguiar
77ac6fa261 init: set correct version number (#323) (#331) 2016-06-01 20:45:12 -05:00
Derek Willian Stavis
2c4471a78c autoload: refactor for conformance and performance (#262)
Refactor autoload: Split the big function into two smaller ones,
doing only option parsing at main function.

The algorithm is also rewritten, now in two steps for both path
inclusion an exclusion functions: 1) use auxiliary lists to store
valid function and completion paths, 2) bulk insert or remove just
once in the variable.

Now also respects path insertion policy, keeping user function
path always in front of other paths, thus allowing precedence of
user functions.
2016-06-01 01:14:30 -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
Derek Willian Stavis
17de8c4b6b list: refactor code, fix fish 2.3.0 globs (#325) 2016-05-31 18:16:02 -03:00
Denis Koltsov
ce97843850 update version (#323)
* update version constant to 2
2016-05-30 16:05:48 -05:00
Pablo Aguiar
3ed532358b Merge pull request #319 from pedrosnk/patch-1
Add wttr plugin to omf
2016-05-17 11:26:25 -03:00
Pedro Medeiros
c8d925f150 Update plugin url 2016-05-17 11:13:29 -03:00
Pedro Medeiros
afbfc830bb Add wttr plugin to omf
Add a wttr plugin to omf that interfaces with wttr.in service and shows weather information
2016-05-17 10:16:31 -03:00
Stephen M. Coakley
c809051edd Bump minimum Fish version in installer (fix #243) 2016-05-13 02:17:34 -05:00
Luís Fiolhais
15e9af84b1 Search Function (#314)
Add new search command
2016-05-11 13:29:50 -05:00
Stephen M. Coakley
4b541ec0a1 Merge pull request #310 from sheldon/describe-fixes
Describe all packages fixed
2016-05-10 01:06:53 -05:00