Commit Graph

327 Commits

Author SHA1 Message Date
Ethan P
998e2ff1a9
batpipe: Fix opened-in-less detection 2023-03-21 01:58:47 -07:00
Ethan P
26111f9cee
ci: Fix installation of ripgrep for tests
The previous `find` command was grabbing the bash completions, rather
than the executable file. This should fix that.
2023-03-20 23:40:08 -07:00
Ethan P
76906ca014
test: Add test to ensure ripgrep works
This is intended to make debugging CI issues easier in the future.
2023-03-20 23:29:36 -07:00
Ethan P
428a78837d
ci: Fix errors with permissions 2023-03-20 23:04:43 -07:00
Ethan P
36786ba570
ci: Update action to fix warnings 2023-03-20 23:00:52 -07:00
Eoin Mcloughlin
e9daffde45 Fix bug where some man pages would fail to open
Some man page sections contain alphabetical characters (e.g. 3bsd,
3perl, 3ssl.) This fixes a bug where selection of such pages would
not open any man page.
2023-03-20 22:45:15 -07:00
Alex Wood
3917100c6e Add instructions for bat-extras on Fedora 2023-03-20 22:42:24 -07:00
Amory Meltzer ☀
a4237efffd batwatch docs: Fix link to entr project 2023-03-20 22:36:49 -07:00
Ethan P
38014ba72d
docs: Add install steps for Gentoo (@ran-dall)
Thanks for maintaining the package and writing up the install instructions, @ran-dall!
2022-07-30 17:03:42 -07:00
Ethan P
3e2e8df594
docs: Update README about manual files
Manual files are now generated and installed by default.
2022-07-30 17:01:03 -07:00
Ethan P
abda988cbd
build: Add manuals to '--install' 2022-07-29 16:51:59 -07:00
Ethan P
49f27efea2
docs: Update CI badge on README 2022-07-29 16:03:07 -07:00
Ethan P
2f2b33391a
ci: Remove CircleCI 2022-07-29 16:00:11 -07:00
Ethan P
90bb604d74
ci: Add GitHub Actions test workflow
This will eventually replace CircleCI.
2022-07-29 15:55:51 -07:00
Ethan P
ad2d788d6c
build: Add more '--no-*' options 2022-07-29 14:01:55 -07:00
Ethan P
10d976da55
developer: Add '.vscode' to gitignore 2022-07-29 14:01:34 -07:00
Ethan P
62b8f74df2
docs: Add Arch Linux install instructions to README 2022-07-28 13:47:44 -07:00
Ethan P
a011290c2f
Bump version to 2022.07.27 2022-07-27 13:30:27 -07:00
Trevor Leibert
20cc74e8b4 batman: Fix error when using fzf to pick manpages
- steps to reproduce error:
  - run batman with no arguments
  - pick any entry
  - script exits and man prints an error message similar to 'No manual entry for .k5identity  in section 5'

I speculated that this error was due to whitespace being attached to the second argument in the man call.
This commit fixes this error by piping the second argument through xargs to strip these spaces.

After applying this commit the script works as expected.
2022-07-21 19:37:56 -07:00
MithicSpirit
33c2c195dc batdiff: Fix line too long (>80 chars) 2022-07-21 19:37:08 -07:00
MithicSpirit
462df32d4c batdiff: Fix use of deprecated --hunk-style
Delta has deprecated --hunk-style in favor of its synonym
--hunk-header-decoration-style. See
https://github.com/dandavison/delta/releases/tag/0.12.0
2022-07-21 19:37:08 -07:00
Robert Irelan
69792e95da batgrep: handle -u flag to ripgrep 2022-07-21 19:35:55 -07:00
Konstantin Mikhailov
8ad00bd978 batgrep: add flag to disable separators between files 2021-08-29 13:49:25 -07:00
Ethan P
7803ecaba1
batpipe: Fix colors not showing up inside less 2021-08-21 16:19:17 -07:00
Ethan P
d8532bb35a
mdroff: Remove <br/> from output 2021-08-21 16:03:05 -07:00
Ethan P
ef0356a2d8
mdroff: Fix text being trimmed incorrectly 2021-08-21 16:02:48 -07:00
Ethan P
33e0c168e0
batgrep: Add support for '--' 2021-08-21 15:48:14 -07:00
Ethan P
82ac5c4391
batman: If fzf is installed, use batman to search through man pages 2021-08-21 15:22:29 -07:00
Ethan P
f280553fb1
batman: Only set grid style if BAT_STYLE is not defined 2021-08-21 15:19:14 -07:00
Ethan P
d989b0bfde
batwatch: Buffer to reduce flickering from redraw 2021-08-11 01:15:46 -07:00
Ethan P
20cdf5a998
lib: Fix no pager being used when PAGER and BAT_PAGER are unset (#57) 2021-04-13 12:08:37 -07:00
Ethan P
75d66fa352
batpipe: Fix incorrect colors in usage instructions 2021-04-10 12:31:52 -07:00
Ethan P
a4a5f5a5fd
lib: Add test for 'less' as pager instead of 'bat' 2021-04-10 12:26:54 -07:00
Ethan P
4f0b961d12
lib: Use 'less' as pager instead of 'bat' 2021-04-10 12:24:41 -07:00
Ethan P
cae57be87b
batgrep: Respect the BAT_STYLE environment variable (#54) 2021-04-09 01:12:36 -07:00
Ethan P
a526c7927b
batgrep: Fix to work with rg 11 (#53) 2021-04-08 14:17:13 -07:00
Ethan P
eee3156e8a
test: Fix fish being incorrectly detected as installed 2021-04-07 20:38:35 -07:00
Ethan P
e1a0c7a349
Bump version to 2021.04.06 2021-04-06 16:21:30 -07:00
Ethan P
08d2896b1a
lib: Fix accidental forkbomb when using release.sh 2021-04-06 16:21:30 -07:00
Ethan P
54db67408e
prettybat: Add support for SVG formatting using prettier 2021-04-06 15:57:54 -07:00
Ethan P
860638715a
prettybat: Allow reading from pipe (#51) 2021-04-06 15:45:30 -07:00
Ethan P
6497bc04a0
batpipe: Change the install commands to enable color automatically 2021-04-04 14:22:39 -07:00
Ethan P
672b4814ec
batpipe: Fix incorrect bash install commands 2021-04-04 14:20:11 -07:00
Ethan P
2aff613888
batpipe: Format compressed files with 'bat' 2021-04-04 14:14:16 -07:00
Ethan P
82b444f93b
batpipe: Replace 'bat_if_not_bat' with a smarter 'bat' function 2021-04-04 14:13:16 -07:00
Ethan P
94bb4b6a86
batpipe: Remove incorrect text from documentation 2021-04-04 14:00:52 -07:00
Ethan P
650845dee4
lib: Fix 'getargs' setting an empty string when no args are left 2021-04-03 17:16:15 -07:00
Ethan P
e4e916c63b
test: Update snapshots 2021-04-02 16:32:54 -07:00
Ethan P
27c68692f1
batwatch: Show the watched command in bat's header 2021-04-02 16:32:02 -07:00
Ethan P
70c7509343
batwatch: Disable bat's pager (#23) 2021-04-02 16:26:45 -07:00