3if ! which hyperfine > /dev/null 2>&1; then
4 echo "'hyperfine' does not seem to be installed."
5 echo "You can get it here: https://github.com/sharkdp/hyperfine"
12hyperfine --warmup 3 bat
18hyperfine --warmup 3 "bat --language txt --paging=never 'test-src/jquery-3.3.1.js'"
21echo "### Time to syntax-highlight large files"
24for SRC in test-src/*; do
25 hyperfine --warmup 3 "bat --style=full --color=always --paging=never '$SRC'"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list