Compare commits

...

3 Commits

Author SHA1 Message Date
e80ea341e6 0.1.2 2026-02-22 04:20:08 +01:00
61842e61b1 Updated readme, added npmignore 2026-02-22 04:20:02 +01:00
2f1044637e Fixed file name typo 2026-02-22 04:13:12 +01:00
4 changed files with 14 additions and 2 deletions

1
.npmignore Normal file
View File

@@ -0,0 +1 @@
package-lock.json

View File

@@ -1,6 +1,6 @@
{ {
"name": "efforting-shell-utils", "name": "efforting-shell-utils",
"version": "0.1.1", "version": "0.1.2",
"type": "module", "type": "module",
"private": true, "private": true,
"bin": { "bin": {

View File

@@ -1,6 +1,13 @@
## Usage
*Here is an example for `jg` (javascript grep):*
```sh
grep --color=always -rin "$@" --include "*.js" --include "*.mjs" --exclude "*.min.js" --exclude-dir node_modules | grep-mtime-sorter | ansi-trunc -l 250
```
## Global Installation ## Global Installation
### HTTP ### HTTPS
```sh ```sh
sudo npm install -g 'git+https://gitea.efforting.tech/mikael-lovqvist/shell-utils.git#latest' sudo npm install -g 'git+https://gitea.efforting.tech/mikael-lovqvist/shell-utils.git#latest'
@@ -8,6 +15,10 @@ sudo npm install -g 'git+https://gitea.efforting.tech/mikael-lovqvist/shell-util
### SSH ### SSH
> [!CAUTION]
> When you run `npm` as sudo, it will not use your users git configuration or identity. For now HTTPS is recommended instead.
```sh ```sh
sudo npm install -g 'git+ssh://git.efforting.tech:mikael-lovqvist/shell-utils.git#latest' sudo npm install -g 'git+ssh://git.efforting.tech:mikael-lovqvist/shell-utils.git#latest'
``` ```