Commit Graph

448 Commits

Author SHA1 Message Date
Jorge Bucaran
415487dfc9
Teach uninstall handler about uninstall options.
+ Now __fisher_plugin_uninstall_handler is aware of a third argument,
`option` that can be used to indicate the event handler or uninstall
file abot any options available in `fisher uninstall`, namely, --force.

+ In addition, the uninstaller mechanism no longer receives the name of
the plugin, as this information is usually already available to plugins
anyway.

+ Finally, a path to the parent directory where the uninstall.fish file
is located is given instead of the full path to the file. Again, the
plugin usually knows the name of the file, `uninstall.fish`.
2016-02-17 13:53:24 +09:00
Jorge Bucaran
f50ee6d232
Update to include new faster __fisher_help_* functions 2016-02-16 17:46:39 +09:00
Jorge Bucaran
285fa3ac76
Add new __fisher_help_* functions.
Split help command functionality into individual functions
for cosistent with the way other commands are structured,
and improve tab completion times by skipping the overhead
of calling fisher_help directly.
2016-02-16 17:43:13 +09:00
Jorge Bucaran
47f787535a
Update for new __fisher_help_* functions. 2016-02-16 17:42:41 +09:00
Jorge Bucaran
3eb4f2b4c8
Add correct help for fisher --list option. 2016-02-16 17:40:23 +09:00
Jorge Bucaran
a92a749e82
Remove git -C to improve support in exotic systems. 2016-02-16 14:36:29 +09:00
Jorge Bucaran
97b30dc97f
Fix bug introduced in 83b84b causing make to not get called. 2016-02-16 12:06:25 +09:00
Jorge Bucaran
36217629e2
Simplify fishtape download URL passed to install. 2016-02-16 11:15:03 +09:00
Jorge Bucaran
dc5bcce0b8
Change name request. 2016-02-16 11:01:03 +09:00
Jorge Bucaran
1856524e74
Do not fail if Makefile is missing or empty w/ support for fish 2.1.2 2016-02-16 10:43:11 +09:00
Jorge Bucaran
e0ed629777
One more push before 0.8.0, fixed bugs, paved the way for DEBUG mode.
* Add Mizuki to THANKS for help with Japanese translation of the QuickStart Guide.
* fisher --list should return 1 (fail) if no plugins are installed. Closes #101.
* More consistent style 'Usage' instead of 'usage'.
* Silence index check in case $fisher_cache/.index does not exist.
* Add more descriptive message if plugin is not found.
* Silence search failure in case $fisher_cache/.index does not exist.
2016-02-15 21:24:22 +09:00
Jorge Bucaran
4b15cf374f
Ahoy! We are getting close to 0.8.0
* Move AUTHORS -> THANKS and remove automatic generation.

THANKS is more sensible than AUTHORS. CREDITS was second best.
Also, after perusing similar files in other projects I noticed
some entries lacking a valid email address and decided fow now
this file should be curated manually to make sure each entry
contains a useful link. This allows users who have contributed
to the project ways other than committing code to be added to
the list as well.

* Rename wait -> spin.

* Remove extra padding in links. (Cosmetic)

* Update to reflect API refactorings.

* Fix bug causing brackets to show up in description.

* Implement using spin function.

* __fisher_gist_to_name uses curl to query the GitHub API which will
return a JSON stream even if the Gist could not be found. So, it's
not possible to determine whether we failed or not using our spin
function and actually need to check the returned string to see if
it contains a valid name or not.

* Let git pull write errors to stderr.

* Use new internal __fisher_spin.

* Extract spin to independent / external module and tweak Makefile
to better integrate with new install process.
2016-02-14 13:17:47 +09:00
Jorge Bucaran
1f16aa1521
Add new plugins and translations sections. 2016-02-13 18:51:33 +09:00
Jorge Bucaran
36f9fc85d8
Merge pull request #96 from ViViDboarder/patch-1
Super tiny typo in fisher-config.md
2016-02-12 07:58:32 +09:00
Ian
ebe4f2adb0 Super tiny typo in fisher-config.md 2016-02-11 11:07:53 -08:00
Jorge Bucaran
421ef675f3
Fix dead white space link next to the logo. 2016-02-11 17:39:50 +09:00
Jorge Bucaran
7cb7f344b5
Remove , but still think it's cool. 2016-02-11 13:19:35 +09:00
Jorge Bucaran
bf6806eb15
Make Slack logo blue. 2016-02-11 13:18:43 +09:00
Jorge Bucaran
d46ec4a2a8
Add @daenney automatically. 2016-02-11 10:52:29 +09:00
Jorge Bucaran
a21491a329
0.7.0 2016-02-11 09:56:12 +09:00
Jorge Bucaran
5dc1eea953
Ahoy! an early v0.7.0 is here!
+ Add  the ability  to install plugins  from Gists.  You can
distribute a very simple,  one-single function plugin in the
form  of a  Gist. Your  users  can install  it using  fisher
install  url and  Fisherman will  query the  Gist using  the
GitHub API to get a list of  the Gist files and use the name
of the  first identified *.fish  file to name the  plugin in
your system.  Since there is no  formal way to name  a Gist,
and you may  prefer to keep the "description"  field for the
actual description  and not a name,  Fisherman supports only
one fish file per Gist. Closes #75.

+ Use command(1) when calling non-builtins. Thanks @daenney.
Closes #79.

+  Add  __fisher_plugin_can_enable  to detect  installing  a
prompt that is not the current one. Closes #78.

+  Remove  the ability  to  install  a  plugin in  a  parent
directory using ..  or ../ or even worse, ../../  as well as
other combinations  that navigate  to a parent  directory. I
find  the use  case odd  at  best, and  more dangerous  that
useful.  If you  want  to  install a  local  plugin use  the
full  path  or a  relative  path,  always top  down.  fisher
install  . or  fisher  install my/plugin  or fisher  install
/Users/$USER/path/to/plugin. Closes #81.
2016-02-11 09:40:03 +09:00
Jorge Bucaran
d566eb68f6
Merge branch 'daenney-all-the-commands' 2016-02-10 02:52:24 +09:00
Jorge Bucaran
eb7a4f2e39
Update. 2016-02-10 02:42:27 +09:00
Daniele Sluijters
a11bbee41d Use command when calling non-builtins
By using `command` we ensure that we always end up calling the external
binary and don't get caught by user aliasses, functions or other
magic.

Closes #79
2016-02-07 18:48:42 +01:00
Jorge Bucaran
e21814b94b
Remove version section links. 2016-02-07 21:50:24 +09:00
Jorge Bucaran
34584593ab
0.6.0 2016-02-07 20:15:40 +09:00
Jorge Bucaran
6d37ea8367
Update. 2016-02-07 20:14:51 +09:00
Jorge Bucaran
6cb114ba1e
Lowercase slack and 750->720 pixel logo. 2016-02-07 20:13:20 +09:00
Jorge Bucaran
bb1860cd42
Remove superfluous ticks. 2016-02-07 20:12:25 +09:00
Jorge Bucaran
6f28e224d4
Reset completions after a successful index update. 2016-02-07 20:11:09 +09:00
Jorge Bucaran
892a8771fa
Add timeout argument and isolate $fisher_index. 2016-02-07 20:08:08 +09:00
Jorge Bucaran
db0c8d9bdd
Remove $fisher_index from the config and isolate inside __fisher_index_update. 2016-02-07 20:07:09 +09:00
Jorge Bucaran
33670e7a8e
Use specific timeout of 0 to force index update to wait always. 2016-02-07 20:06:48 +09:00
Jorge Bucaran
e8624559ed
Revise documentation, use more consistent style, remove deprecated APIs. Closes #77 2016-02-07 20:06:04 +09:00
Jorge Bucaran
635013b080
Tidy up, more punch, more flavor, larger logo. 2016-02-06 07:11:35 +09:00
Jorge Bucaran
a350eeb1a8
Fix compatibility section to address new Legacy plugin. 2016-02-06 02:53:20 +09:00
Jorge Bucaran
fff5a52405
Add note in README about the nature of the benchmarks. 2016-02-05 20:41:49 +09:00
Jorge Bucaran
9f23f4318d
Remove debugging logs. 2016-02-05 20:41:28 +09:00
Jorge Bucaran
6970887ef9
Tidy up, add more spacing between sections. 2016-02-05 15:31:12 +09:00
Jorge Bucaran
332f34564a
Fix: __fisher_plugin_walk was incorrectly traversing completions.
Due to how the completions/*.fish path was traversed
inside __fisher_plugin_walk, the plugin enable/disable
mechanism would fail to copy all completions other than
completions/<plugin>.fish into the config.
2016-02-05 14:51:52 +09:00
Jorge Bucaran
be55d8eca5
Update Change Log. 2016-02-04 14:07:21 +09:00
Jorge Bucaran
a3a725b59e
Update test to account for new writing to log file in fisher_update. 2016-02-04 14:07:01 +09:00
Jorge Bucaran
ed5e647643
Comment. 2016-02-04 14:05:39 +09:00
Jorge Bucaran
139efca697
Add tests for __fisher_plugin_source. 2016-02-04 14:05:01 +09:00
Jorge Bucaran
adda0f84fd
Improve Install/Update/Uninstall message channels.
Before this commit, both error and success information
was sent to stderr. Now, the total number of plugins
installed / updated / uninstalled is sent to stdout
allowing us to parse this output and implement a
more robust (and simpler) __fisher_deps_install
2016-02-04 14:02:01 +09:00
Jorge Bucaran
8072c65164
Favor > for themes over | for symbolic links. 2016-02-04 14:01:41 +09:00
Jorge Bucaran
9c22f43f51
Strip plugin list decorators when parsing fishfile 2016-02-04 13:56:06 +09:00
Jorge Bucaran
952ac794b1
Add new plugin listing decorator for symbolic links `|'. 2016-02-04 13:53:58 +09:00
Jorge Bucaran
85bbcccd27
Display deps as they install along with parent plugin. 2016-02-04 13:52:43 +09:00
Jorge Bucaran
bee326dc3d
Remove 'probably' useless post render. 2016-02-04 13:51:29 +09:00