Commit graph

182 commits

Author SHA1 Message Date
Robert Holak c9d2f2ba16
Fix awk parser to set correct variable. (#419)
The awk json parsing routine was setting a variable of "description"
instead of "info". This was causing a problem where the cached index -
and subsequently ls-remote commands - to show the "%info" format item as
the URL again.
2018-04-18 00:14:12 -07:00
Roman Zhuzha fa7d68906e improve index file parsing (#412)
* use match() to extract substrings

* match only horizontal whitespaces
2018-03-22 22:43:28 +09:00
Joe Green 494733f948 fisher up obeys $fish_path (#407)
* Ensure fisherman's completions are placed in the correct fisherman directory when running self update.

* Update documentation to include the extra steps required when setting fish_path.

* -U instead of -g in README.
2017-12-13 19:29:58 +09:00
Jorge Bucaran b22ff50bf8
2.13.2 2017-09-05 17:47:37 +09:00
Jorge Bucaran 29d1b607a2
Fix bad redirection during self-uninstall. Close #398. 2017-09-05 17:46:59 +09:00
Jorge Bucaran 3e74f7bd4a → 2.13.1 🎉 Thanks @christianrondeau. 2017-07-30 16:42:43 +09:00
Christian Rondeau 4a46aa1696 Termux compatibility (#383) 2017-07-30 16:39:03 +09:00
Jorge Bucaran 609107e424 2.13.0 2017-07-01 04:22:32 +09:00
Joe George 3f70da3075 Fix #391 (#392)
Fisherman was always writing its completion file to $fish_config/completions.

This was incorrect behavior if $fish_path was set to a directory other than
$fish_config (its default).

Note that when using $fish_path to manage functions, completions and snippets, 
you opt out fish default locations which are handled for you by the shell and
consequently are responsible for appending your custom $fish_path/functions
and $fish_path/completions directories to $fish_function_path and $fish_complete_path respectively, as well as sourcing snippets (.fish files under $fish_path/conf.d) on shell 
startup.
2017-07-01 04:19:48 +09:00
Yuji Yamamoto d2db994023 Escape "$file" in the warning message. (#390)
Fix https://github.com/fisherman/fisherman/issues/389
2017-06-22 13:40:40 +09:00
Eric Mrak 21c1cb62d9 Prevent additional remotes per plugin from affecting fishfile
closes #371
2017-03-03 09:56:52 -08:00
Francisco Lourenco 0a4275051f
Document how to install branches and tags
Closes: #364
2017-02-15 21:36:03 +01:00
Francisco Lourenco 51bf93597f
Add notice about fish <2.3.0 and snippet support 2017-02-15 21:06:23 +01:00
Francisco Lourenco a41a932d1d
Fix warning message about fish <2.2.0
- `__fisher_log` doesn't work on <2.2.0 anymore so use `echo` instead
- `command -s` option not available on macOS, so use `type` instead
- `type -q` not available on fish <2.2.0,use `type brew >/dev/null 2>&1`
- `brew up` not needed anymore, it auto updates now
- `brew --HEAD` not needed, latest version is enough
2017-02-15 21:06:23 +01:00
Francisco Lourenço dc8acc427b Install/Update from branch separated by : or @ (#365)
Examples:

fisher install fisherman/done@dev
fisher install fisherman/done@1.1.0
OR
fisher install fisherman/done:dev
fisher install fisherman/done:1.1.0

Related: #269
2017-02-11 01:29:37 +09:00
Jorge Bucaran ab6442e573
Fix #359.
fish 2.5 more strict handling of the `test` builtin helped identify
the bug.
2017-02-04 01:56:19 +09:00
Jorge Bucaran 56e80d269b Bump 2.11.0 2016-10-15 15:41:49 +09:00
Jorge Bucaran cb49cf8c20 Allow http:// URLs and optional http/s:// for gitlab, github and bitbucket. 2016-10-15 15:41:19 +09:00
Jorge Bucaran b33551558a Make sure fisher_cmd_name is set anyway. Related #339. 2016-10-15 14:40:45 +09:00
Jorge Bucaran 621690b4c1 2.10.0 2016-06-02 18:50:06 +09:00
Jorge Bucaran 9894e122c5 Fix incorrect dep fetch. Close #306.
* Add support to fish-theme-* and fish-plugin-* repo names,
  otherwise fisherman would end up trying to install the
  unknown dependencies.

* Remove support for using `:' as a git tag delimiter when
  installing plugins as that was causing full URLs to be
  parsed incorrectly.
2016-06-02 18:48:03 +09:00
Jorge Bucaran a8b004f89e Use a printf verb in ls-remote to avoid printing weird stuff. 2016-06-01 23:45:41 +09:00
Jorge Bucaran be1145ee9f 2.9.0 2016-05-28 18:10:25 +09:00
Jorge Bucaran f1da8f0c60 Introduce fish_path. Fix #301. 2016-05-28 18:09:53 +09:00
Jorge Bucaran 16af17ea9c Remove license from source code. 2016-05-27 23:06:05 +09:00
Jorge Bucaran cc6133546f Add LICENSE here, and remove from main repo. Only 3 files! :) 2016-05-27 20:33:59 +09:00
Jorge Bucaran c4b1f80eb9 2.8.0 2016-05-27 01:42:42 +09:00
Jorge Bucaran e5d5f06065 Better uninstall support, help completions, etc.
* #293, #294
2016-05-27 01:41:26 +09:00
Jorge Bucaran 5bc57e83a9 Update manpage. 2016-05-27 00:45:44 +09:00
Jorge Bucaran d04761016c String subst for __fish_datadir in __fisher_version. 2016-05-22 04:57:24 +09:00
Jorge Bucaran 5a095cb5a8 Warn if trying to self-up/rm in a global setup. 2016-05-22 03:45:28 +09:00
Jorge Bucaran 04235b38ad 2.7.8 2016-05-20 10:38:09 +09:00
Jorge Bucaran 272e302262 Install/Update from a branch. Close #269.
Use fisher [install] PLUGIN:BRANCH_NAME to install from any
given branch. The default branch is master. You can use `@'
instead of `:' to specify the branch name.

If you install a plugin from BRANCH and later remove it,
the repository in ~/.cache/fisherman/PLUGIN will remain
checked out on BRANCH. To force install from another
branch specify a different branch, e.g. `:master'.

    fisher PLUGIN:BRANCH
    fisher rm PLUGIN
    fisher PLUGIN        # install PLUGIN from BRANCH
    # or
    fisher PLUGIN:master # install PLUGIN from master

Updating a plugin always fetches the latest HEAD from
the currently checked out branch.
2016-05-20 10:27:28 +09:00
Jorge Bucaran 5206351715 Use &' as the style verb instead of @' in __fisher_log. 2016-05-20 08:40:22 +09:00
Jorge Bucaran bbce128cd1 Display OK status when fetching plugins from the cache. 2016-05-20 08:25:25 +09:00
Jorge Bucaran 80ff81e204 Remove plugins if given full original name or url. Fix #291 2016-05-20 08:24:16 +09:00
Jorge Bucaran a0a0e3698a Update plugins if given full original name or url. Fix #290. 2016-05-20 08:19:27 +09:00
Jorge Bucaran a4bb161d31 Update usage help. 2016-05-20 08:17:53 +09:00
Jorge Bucaran f1fa1c40eb 2.7.7 2016-05-19 23:12:59 +09:00
Jorge Bucaran f1d1e89a8c Discard mv errors during backup creation. 2016-05-19 23:12:47 +09:00
Jorge Bucaran e0a2aaf967 Guard stdout/err redirections by quotes. 2016-05-19 23:10:43 +09:00
Jorge Bucaran 69c40e2dac Create stdout/err fd earlier. 2016-05-19 22:48:17 +09:00
Jorge Bucaran 29d95402f9 Early exit __fisher_log if no log command is given. 2016-05-19 22:44:40 +09:00
Jorge Bucaran e05e014de5 Initialize next and last values in ls-remote pagination process. 2016-05-19 21:31:36 +09:00
Jorge Bucaran 4e10fefdc0 Refactor fisher_cmd_name generation. 2016-05-19 21:26:48 +09:00
Jorge Bucaran 82bd118064 2.7.6 2016-05-19 20:25:21 +09:00
Jorge Bucaran 55d2efd555 Remove .git suffix from git URls. 2016-05-19 20:24:39 +09:00
Jorge Bucaran f80ccf9361 Load functions before conf.d. 2016-05-19 20:22:18 +09:00
Jorge Bucaran c0435e512a 2.7.5 2016-05-19 18:54:47 +09:00
Jorge Bucaran 7e01eefe0b 2.7.4 2016-05-19 18:50:41 +09:00