Commit graph

801 commits

Author SHA1 Message Date
Jorge Bucaran 09fc107734
Use more string unescape 2021-01-16 03:18:56 +09:00
Jorge Bucaran 48a61924ad
Refactor parallel fetch subcommand
- Remove undocumented fisher_user_api_token.
  - Can always re-add if there's a need.
- Use string unescape which is faster.
2021-01-16 03:04:11 +09:00
Jorge Bucaran a2e3d5463f
Refactor if into && || for short lines 2021-01-16 02:47:09 +09:00
Jorge Bucaran 8f84ee6144
Kinder conflict error 2021-01-16 02:36:14 +09:00
Jorge Bucaran b2501f620d
Improve fish_plugins read regex 2021-01-16 02:35:42 +09:00
Jorge Bucaran d1a9ae0f7f
Work on fish_plugins section 2021-01-15 21:09:55 +09:00
Jorge Bucaran c8091b3dee
Abort install, don't clobber user files (#624)
Don't install plugins that would overwrite existing
user files, stop and tell the user to deal with it.

Close #624.
2021-01-15 15:25:59 +09:00
Jorge Bucaran 7a47e294b9
Add love to the docs 2021-01-15 03:46:22 +09:00
Jorge Bucaran aa4e1caca5
Update function description 2021-01-15 03:43:55 +09:00
Jorge Bucaran 0e2227019e
Regex adventures: don't match directories 2021-01-15 01:03:18 +09:00
Jorge Bucaran 8fde904564
Simplify install/update regexes 2021-01-15 00:34:57 +09:00
Jorge Bucaran da228c9f70
Simplify uninstall regexes, erase completions 2021-01-15 00:08:05 +09:00
Jorge Bucaran c3659bed01
User may not be using the default prompt anyway 2021-01-14 21:17:53 +09:00
Jorge Bucaran 3edac36e38
Better error message on no fish_plugins (#646) 2021-01-14 20:58:35 +09:00
Jorge Bucaran 72a40f13ce
Use ! 2021-01-14 20:51:38 +09:00
Jorge Bucaran fbc117df2d
Change fisher_version scope to private 2021-01-14 20:43:57 +09:00
Jorge Bucaran 6dc9e1237d
Print version and help 2021-01-14 20:29:09 +09:00
Jorge Bucaran b5650d3ef6
Use verbose syntax in completions 2021-01-14 20:25:49 +09:00
Jorge Bucaran fca10da157
Terser 2021-01-14 20:23:59 +09:00
Jorge Bucaran f24bb10edb
Useless use of backslash 2021-01-14 20:23:29 +09:00
Jorge Bucaran c9decadc16
Don't read in empty lines from fish_plugins 2021-01-14 20:14:04 +09:00
Jorge Bucaran 7d6bd9f9b3
Don't force-use system curl 2021-01-14 20:04:17 +09:00
Jorge Bucaran ed32770424
Split long lines, increase verbosity 2021-01-14 19:38:23 +09:00
Jorge Bucaran f5b6254833
Support FreeBSD
tar requires --file - on FreeBSD to read from stdout
2020-12-10 18:56:30 +09:00
Jorge Bucaran b4c2fcc68a
Use simpler curl invocation, increase verbosity 2020-12-10 02:17:51 +09:00
jorgebucaran ae423be725
Use fish_postexec to handle 4.1 migration automatically 2020-12-08 03:04:42 +09:00
jorgebucaran 285fc352b7
Tell users they may remove XDG_DATA_HOME after migrating to 4.1 2020-12-08 01:28:54 +09:00
jorgebucaran f6f2b5d149
Try simpler 4.1 migration approach 2020-12-08 01:04:11 +09:00
jorgebucaran 1644724ef1
Update before removing data_home so _fisher_list returns something 2020-12-08 00:31:07 +09:00
jorgebucaran 721ac3f707
Fix 4.x->4.1 migration error by not erasing _fisher_list 2020-12-08 00:24:07 +09:00
Jorge Bucaran fb16985935 Erase _fisher_list, etc., after update to prevent migration error 2020-12-08 00:05:52 +09:00
Jorge Bucaran db6801f565 Use inverted pyramid model 2020-12-06 16:22:03 +09:00
Jorge Bucaran 6b1a886c58 Use verbose syntax 2020-12-06 05:49:00 +09:00
Jorge Bucaran d0c30d9723 Use proper capitalization 2020-12-05 18:09:11 +09:00
rany cd9d69209e
Use HTTPS for curl installation (#627)
Using HTTPS prevents: 

- accidentally running a captive portal login screen as a Fish script and sourcing it
- other security and privacy benefits of HTTPS
2020-11-23 22:28:26 +09:00
Jorge Bucaran 4ff6128860 Doc little tweaks 2020-11-14 03:56:31 +09:00
Jorge Bucaran 2bbc06a965 Add documentation for plugin authors, close #618 2020-11-13 21:05:29 +09:00
Jorge Bucaran eab5c67f0b Phase out rm 2020-11-13 19:47:25 +09:00
Jorge Bucaran 861cd38133 Simplify source file iteration during install 2020-11-13 19:44:05 +09:00
Jorge Bucaran cc06470da1 Create functions, conf.d, and completions in $fisher_path
Create fish config directories if they don't exist
before installing plugins. We'd already fixed this,
but f4b32b34 brought back #598, as it modifies how
we copy files into $fisher_path.
2020-11-13 17:05:23 +09:00
Jorge Bucaran f4b32b3419 Install plugin even if destination parents are symlinks (#613) 2020-11-13 17:01:16 +09:00
Jorge Bucaran dc63a83c78 Print stdout, improve log readability, print version too 2020-11-12 21:34:20 +09:00
Jorge Bucaran f26e1d121f Fix isatty edge case inside GitHub workflow 2020-11-12 18:37:31 +09:00
Jorge Bucaran 5368e72863 Fix failed glob inside job; related #609 2020-11-11 23:54:00 +09:00
Jorge Bucaran f091c22c60
Use jobs --last --pid instead of $last_pid (#608) 2020-11-10 23:57:57 +09:00
Jorge Bucaran f7c347b5d0
Migrate to uvars during 4.0 to 4.1 upgrade; fix #607 2020-11-10 23:46:29 +09:00
Jorge Bucaran 3f8552e200
_fisher_list may not exit; just install fisher 2020-11-10 22:40:43 +09:00
Jorge Bucaran ac1b49b43b
Move $fisher_data migration to fisher 2020-11-09 22:09:25 +09:00
Jorge Bucaran 5a81014f22
4.1.0
- Remove and install when updating instead of replacing files (#601)
- Updating shouldn't remove plugin if the host is unvailable (#602)
- Can't reliably update local plugins because of symlinks (#603)
- Filter duplicates in argv and fish_plugins (#604)
- Add support to install plugins from branch names with slashes (#588)
2020-11-09 21:58:51 +09:00
Jorge Bucaran ce6072f907
Small docs tweaks 2020-11-09 21:56:23 +09:00