Commit Graph

495 Commits (7c624c13699f1dfda176d556c34e00ab841a32a1)
 

Author SHA1 Message Date
Jorge Bucaran 27a46672d2
Do not rewrite fishfile in ls or ls-remote. 8 years ago
Jorge Bucaran d387963fdb
Make `fisher install` behave like `fisher` when not on the right
side of a pipe. Correct fix for #218.
8 years ago
Jorge Bucaran f0b8514e4c
Bump to 2.3.3 📦 8 years ago
Jorge Bucaran 566cfa5d8b
Teach ls to handle multiple arguments. Close #243. 8 years ago
Jorge Bucaran 4b27433300
Match multiple keys with ls-remote [--format=fmt_str] k1 k2 k3
Also fix regression in ls-remote that was displaying both
installed and remote plugins.
8 years ago
Jorge Bucaran 7d27777aca
Fix bug where main completions were getting overwritten. 8 years ago
Fábio Antunes f9a954648d Add Portuguese translation (#240)
* Add Portuguese translation.

* Added Portuguese to the other languages.
8 years ago
Jorge Bucaran f3573b35fe
Allow fisher without args to read from stdin if not a tty. Close #224. 8 years ago
Jorge Bucaran c328543234
Add black list check when performing ls-remote completions. 8 years ago
Jorge Bucaran 0d075731fc
Bump to 2.3.1 📦 8 years ago
Jorge Bucaran 69bbcb0449
Do not update the index when performing ls-remote completions. 8 years ago
Jorge Bucaran dc80ea96ba
Download the JSON data from GitHub and transform it into a tab
delimited, awk-friendy format and put it in .cache/.index.

During the process, sort the data also. This way, don't need
to repeat the same process every time we run ls-remote.

Add completions for ls-remote with plugin name and info.
8 years ago
Alexey Alekhin a6cbfbf83f Updated Russian docs for v2.2.0 (#237)
* Updated 🇷🇺 Russian docs (see changes in a70d48b)
* Minor wording fix ("use ... using")
* Reflected changes from a0805bb and efc1946; added links to fish and fishfile
* Removed upgrade instructions (see #241)
8 years ago
Jorge Bucaran bb7fbea901
Fix broken link to fish-shell. 8 years ago
detailyang 07ea2bc6b9 Merge pull request #239 from detailyang/translation/579f244
update Chinese README.md
8 years ago
Jorge Bucaran 5b91e3f4fe
Remove uninstall instructions via npm. 8 years ago
detailyang d21bd1942e update Chinese README.md 8 years ago
Jorge Bucaran 19fcc31912
Remove 1.5 upgrade instructions from README. 8 years ago
Jorge Bucaran cf01ee0843
Remove npm install instructions from README. 8 years ago
Jorge Bucaran 8b76477f85
Remove install instructions via npm.
Installing with npm works 9 out of 10 times. This may be due to
the post-install hook hack set in order to move fisher.fish into
the user functions directory.

The simplest and best way to install fisherman is by putting the
fisher.fish file in your functions directory.
8 years ago
Jorge Bucaran 5296558711
Bump to 2.3.0 📦 8 years ago
Jorge Bucaran c717aad401
Put back link to fish-shell. 8 years ago
Jorge Bucaran 097ed41f00
Add line breaks and run other post processing on the JSON response
when updating the index for ls-remote.

Allow ls-remote to accept a key and always print record if it
matches the plugin's name. Works with the format string too.

Close #234, #236, #238
8 years ago
Marc a7d5e707d9 Update README.md 8 years ago
Marc e105dd3ac9 Update README.md 8 years ago
Jorge Bucaran 3e1f2f7c66
Add usage instructions for ls-remote + other tweaks. 8 years ago
Jorge Bucaran 224882926d
Bump to 2.2.0 📦 8 years ago
Jorge Bucaran d6986af3a6
Add new sub command ls-remote to list what plugins you can install.
Running fisher ls-remote will query the GitHub API for all the
repos in the fisherman org and retrieve the JSON file which is
saved to .cache/fisherman/.index.json.

This file is updated every half and hour whenever you run the
command again. This number is subject to change in the future
as we learn how people are actually using this option.

The ls-remote option can take --format=<fmt string> option used
to customize the list output.

By default, it shows only names and breaks it into columns as
wide as your terminal window.

<fmt string> can contain \t tabs or \n line breaks and one or
more of the following variables with information about plugins.

  *  %name
  *  %info
  *  %url
  *  %stars
8 years ago
Jorge Bucaran 9d70776bd2
Do not return 1 if `fisher` succeeds.
Other
 * Better logic when leaving early in case of a fail install.
 * Colorize task completion duration.
8 years ago
Jorge Bucaran 476a6988dc
Improve usage examples. 8 years ago
Jorge Bucaran d43e4799a2
Bump to 2.1.13 📦
* Use more appropriate wording when updating symlinks,
  instead of "skipped", use "synced", since symlinks
  are processed justs like regular plugins.
8 years ago
Jorge Bucaran 227c2738b8
Ditch -F option in ln and simplify code introduced in #231.
ln -F is relevant only when the target is a directory, in which
case `ln` will delete the directory so that the link can occur.

In fisherman, we use links in only two places:

1. Linking files into .config/fish/{functions,completions}, and
2. Linking local plugins into the .config/fisherman

If my calculations are correct, we don't need -F in either case.

Both {functions/completions} never contain directories, so (1)
is probably safe. The fisherman config only contains directories
to installed plugins, so not using -F actually prevents the user
from overwriting a plugin currently installed with a local plugin.
8 years ago
Scott Bonds 92242e7aa8 Check OS and use appropriate ``ln`` options (#231)
Note: OpenBSD's ln does not support the -F flag.
8 years ago
Jorge Bucaran df94db62dd
Bump to 2.1.11 📦 8 years ago
Jorge Bucaran 39f39d018a
Overwrite cached plugin after updating copy in the config.
The previous implementation was creating a nested copy of
the target directory (updated plugin) inside the cached
copy.

After some research, I believe there are two things we
can do here:

1. Remove the target and create a new copy or

2. Use the following syntax

      cp -rf src_dir/. target_dir

   which seems to do what we want, overwrite target with
   source entirely.
8 years ago
Jorge Bucaran 95dea2204a
Merge branch 'master' of https://github.com/fisherman/fisherman 8 years ago
detailyang 5b43777b66 Merge pull request #229 from detailyang/translation/9586ce9
keep sync with master
8 years ago
detailyang 437e424426 keep sync with master 8 years ago
Alexey Alekhin 3f08ef0ba7 Improved Russian translation of the docs 8 years ago
Markcial 52eb9a71fd Added missing link to catalan docs to the main README file 8 years ago
Markcial c2d0b59a04 Added missing link to catalan docs to the main README file 8 years ago
Marc 75cafe8140 Update README.md
fix broken link, fix typo
8 years ago
Markcial 878a65f347 Added catalan translation docs 8 years ago
Marc fa2cb0858a Update README.md
Some minor tweaks for a more natural spanish
8 years ago
Jorge Bucaran b60ea9ee8e
Move completions/fisher.fish creation to the top of the function. 8 years ago
Jorge Bucaran 4f9d628a9e
Add note about upgrading from 1.5. Thanks @laughedelic. 8 years ago
Jorge Bucaran ee6a805ef6
Fix broken links in docs. 8 years ago
dididi b91c926992 Add Korean docs for 2.0 (#222) 8 years ago
Jorge Bucaran 6a5099df96
Bump to 2.1.10 📦 8 years ago
Jorge Bucaran cddf8b1f87
Remove useless check for files that start with `.` in __fisher_list_plugin_directory. 8 years ago