Commit Graph

27 Commits (6db64cf050f0425d059d5c8bf3dfd9fdd98d9976)

Author SHA1 Message Date
Isaac Horvath adea895026
Add a --style=default option (#2119)
* Add a --style=default option

* Added --style=default test and CHANGELOG entry

* Format CHANGELOG.md options with quotes

Co-authored-by: Martin Nordholts <enselic@gmail.com>

* Update help text for '--style'

* Make --style=default the default option

* Update style descriptions: "basic" -> "recommended"

* Add integration test for --style=default as default

* Update clap long help for --style
2 years ago
Martin Nordholts 3c057aa590 Add header-filename and header-filesize where missing 3 years ago
Josh Pencheon ad6cae433a
fix Bash completion on macOS (#2074)
* fix Bash completion on macOS

The Homebrew-provided bash-completion is version 1.x,
which doesn't provide _init_completion. We add a standard
shim instead.

* Add entry to CHANGELOG

* Update CHANGELOG.md

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>

* review: avoid calling _split_longopt repeatedly

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
3 years ago
NotWearingPants 6fc7ebf37a
Add missing style values in fish & zsh completions (#1890) 3 years ago
Rashil Gandhi 43afae34be
Add PowerShell completion file (#1826) 3 years ago
a1346054 51edacb5eb style: trim excess whitespace 3 years ago
Martin Nordholts b040efff79 Support a hidden arg --no-custom-assets that skips loading assets from the cache 3 years ago
Ville Skyttä 8b37e62cf3 Add some more options to bash completion
https://github.com/sharkdp/bat/pull/1702#issuecomment-872452683
3 years ago
Frederick Zhang 42f1ef019a Fix missing config/cache arguments in Zsh completion 3 years ago
Ville Skyttä 06c601bc7c Depend on scop/bash-completion
For = option/arg separator support, improved mid-word completion
behavior, code cleanliness.
3 years ago
Ville Skyttä 229fbc1a18 Add missing comment about --theme arg escaping 3 years ago
Ville Skyttä e05f5010da Add bash completion
Closes https://github.com/sharkdp/bat/issues/1010
3 years ago
Albert Safin 6bf7b79f13 Fix zsh completion
* Fix completion for -p option (#1320)
* Use prefixed function names to avoid name clash
4 years ago
Kienyew a86f3e5b81 Fix packaging and Use parameterized names for zsh completion 4 years ago
Kienyew 8b0886ac32 Fix typo 4 years ago
Kienyew 41a1952928 use _describe instead of _values on subcommand 4 years ago
Kienyew 9885d4ebf0 add completion for 'cache' subcommand 4 years ago
Kienyew 222e080ce7 Fix character escape problem 4 years ago
Kienyew 046409d7c9 Add zsh completion 4 years ago
Dash Peters c264f74771 Hide alias in help, update man and completions
A long alias doesn't make sense, since `--paging=never` already exists
4 years ago
Ethan P ea2179b352
Update fish completions to use parameterized names 5 years ago
Ethan P 06b8dcb7eb Update fish completions for new --list-languages format 5 years ago
Ethan P 27e0ca98d9 Remove language completions for config files 5 years ago
Ethan P 1b2066c5f2 Add fish shell argument completions for --language option 5 years ago
evdev cd6850947e Updated fish completions to include parameter completion for available themes, added cache subcommand completions 5 years ago
evdev 14bfedeb20 Updated fish completions to include parameter completion for flags: color, italic-text, decorations, paging, wrap 5 years ago
evdev 5e9351445f WIP: added manual minimal fish shell completions for current flags. Does not include flag sub-options like language lists or subcommands 5 years ago