Commit graph

14 commits

Author SHA1 Message Date
Sebastián Mancilla
ef1bfc7508 Add native Zsh completion
Replace the auto-generated Zsh completion with a full completion script.
This script improves completion support for options and arguments,
which is hard to obtain from an auto-generated completion.

- Full completion support for external commands and options when using
  `--exec`/`--exec-batch`.

- The completion for `--type` and `--color` adds descriptions instead of
  just values.

- Complete files when using `--ignore-file`.

- Stop completing files for the pattern argument.

- Improve completion for path arguments. Only directories are
  completed.

- Single-use options are not offered again.

- Updated exclusions lists for mutual-exclusive options.

- Add support for hidden options (as defined in `app.rs`). They are not
  offered for completion, but if present are considered (and their value
  may be completed).

Full support for exclusion lists depends of options groups, which was
added in Zsh 5.4. Older Zsh versions, as commented in the completion
script, will just offer most options.

The format of the completion script was taken from ripgrep completion
script. Command completion for `--exec`/`--exec-batch` was taken from
Zsh's `_find` completion.
2020-10-05 22:39:17 +02:00
Jason Heeris
040c57e007 Added gcc_prefix to make_deb() function. 2019-06-17 19:19:33 +02:00
Jason Heeris
418233193a Added armhf build to CI. 2019-06-17 19:19:33 +02:00
Laurent Arnoud
35945c4a62 Use dual license on Debian
cf https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2019-03-17 18:59:16 +01:00
Laurent Arnoud
97908beb97 Add copyright file for deb package
ref https://github.com/sharkdp/fd/issues/416
2019-03-17 18:59:16 +01:00
Duncan Finney
831f517f5a Add ARM static binary #320 (arm-unknown-linux-musleabihf) 2018-11-04 11:47:44 +01:00
sharkdp
6fb5004b85 Enable ARM cross-compilation
closes #244
2018-08-19 15:30:59 +02:00
sharkdp
050fa9c3b1 Fix file owner in deb package, closes #213
Also, fix a few lintian warnings / errors.
2018-01-04 19:48:59 +01:00
sharkdp
c5b920b913 Fix shell completion directories for Ubuntu 2018-01-03 09:10:33 +01:00
Thayne McCombs
2bc72a5eca Fix bash_completion path in deb. 2017-12-14 19:26:24 -08:00
sharkdp
9192bc153f Fix path of bash completion 2017-12-09 23:01:32 -08:00
Thayne McCombs
8914b43845 Fix deb build 2017-12-05 12:11:01 -08:00
Thayne McCombs
59ea560d37 Create deb file as part of CI build. WIP 2017-12-05 12:11:01 -08:00
Adit Cahya Ramadhan
dbf1ba8b82 Set up Travis to upload binary for every release
- Add deploy script
- Set deployment option on `.travis.yml`

fix #76
2017-10-25 18:27:13 +02:00