Commit Graph

31 Commits

Author SHA1 Message Date
Stephen M. Coakley
016ea34a9b oops (#470) 2017-01-06 17:15:36 -06:00
Stephen M. Coakley
d951cb1a15 Normalize redirection syntax (#459) 2016-12-17 20:26:46 -06:00
Stephen M. Coakley
50004e39a1 Print diagnostic info in doctor (#456) 2016-12-17 14:30:25 -06:00
Stephen M. Coakley
674c90d160 Make OMF command colors independent of Fish version (#446) 2016-11-23 13:18:11 -06:00
Stephen M. Coakley
6404410be0 Implement update channels to introduce release versioning (#293) 2016-10-20 18:10:13 -05:00
Justin Hileman
370b4dd2a5 Fix the blank lines in omf update output. (#394) 2016-09-01 23:20:11 -03:00
Stephen M. Coakley
fb6c2992ba Do not overwrite themes when installing from bundle (#385) 2016-08-29 22:18:27 -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
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
Stephen M. Coakley
e4bd035f15 Fix omf update exit status (#365) 2016-07-18 20:25:02 -03:00
Stephen M. Coakley
e9fb8ff3db Add hooks system for packages (#286) 2016-07-18 17:57:54 -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
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
Derek Willian Stavis
17de8c4b6b list: refactor code, fix fish 2.3.0 globs (#325) 2016-05-31 18:16:02 -03:00
Luís Fiolhais
15e9af84b1 Search Function (#314)
Add new search command
2016-05-11 13:29:50 -05:00
Sheldon Els
355b519c1e describe all packages works again 2016-05-10 07:57:04 +02:00
Sheldon Els
f7e1561067 indent correct on help for describe command 2016-05-10 07:57:04 +02:00
Andrew Rynhard
1853f30dd6 Use local variables 2016-04-19 01:16:58 -07:00
Andrew Rynhard
a5654cfec3 Use -L instead of -h 2016-04-19 00:34:33 -07:00
Andrew Rynhard
9b3a2586f2 Fix #303 2016-04-19 00:14:10 -07:00
Itzik Ephraim
0fc99b38b4 bugfix: Core update reported failure when up-to-date 2016-03-28 09:18:10 +03:00
Itzik Ephraim
720c499e61 Report up-to-date packages as such 2016-03-27 09:19:07 +03:00
Itzik Ephraim
f6b9bdd941 When pulling a repo, fetch first, to check for updates 2016-03-25 13:17:56 +03: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
Itzik Ephraim
5764f0d9a4 omf doctor checks for fish & git versions
Minimum fish version: 2.2.0
Minimum git version: 1.9.5
2016-03-24 09:01:18 +02:00
Justin Hileman
b490fad367 Merge branch 'master' into deprecate-refresh 2016-03-23 08:10:27 -07:00
Derek Stavis
65dfadfc02 lib: deprecate available function
This PR officially marks available as deprecated, moving the
deprecated functionality to omf plugin compat quarantine directory.
2016-03-22 21:48:05 -03:00
Derek Stavis
37705618b2 lib: deprecate refresh function
With great power comes great responsibility. This function is
somewhat low level, and is harmful to shell's user, as it
completely screws up with job control (subprocesses).

This PR officially marks `refresh` as deprecated, moving the
deprecated functionality to omf plugin `compat` quarantine
directory.
2016-03-22 21:35:52 -03:00
Itzik Ephraim
fa24e67633 Allow selective updates 2016-03-13 11:44:45 +02:00
Derek Stavis
49dda5c2f7 Reorganize omf plugin structure
This updates omf plugin to new architecture, moving
functions to `functions` directory. It also revamps the
separation of concerns between CLI and underlying
implementations, organizing them into directories,
whose are autoloaded in plugin startup.
2016-01-09 18:59:54 -02:00