Files
shell-utils/readme.md
2026-02-22 04:22:22 +01:00

630 B

Usage

Here is an example for jg (javascript grep):

grep --color=always \
	-rin "$@" \
	--include "*.js" \
	--include "*.mjs" \
	--exclude "*.min.js" \
	--exclude-dir node_modules \
	| grep-mtime-sorter | ansi-trunc -l 250

Global Installation

HTTPS

sudo npm install -g 'git+https://gitea.efforting.tech/mikael-lovqvist/shell-utils.git#latest'

SSH

Caution

When you run npm as sudo, it will not use your users git configuration or identity. For now HTTPS is recommended instead.

sudo npm install -g 'git+ssh://git.efforting.tech:mikael-lovqvist/shell-utils.git#latest'