🔤 Lists bash/scripts

This commit is contained in:
Jan Andrle 2024-02-20 15:23:33 +01:00
parent b54b08442a
commit e1f5b70b33
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB
3 changed files with 47 additions and 0 deletions

View File

@ -6,3 +6,6 @@
- [../.inputrc](../.inputrc) Vim bindings for bash - [../.inputrc](../.inputrc) Vim bindings for bash
- [../.XCompose](../.XCompose) [Compose key - Wikipedia (en)](https://en.wikipedia.org/wiki/Compose_key), [Klávesa Compose a typografický exkurz z rychlíku (cs)](https://jaandrle.github.io/blog/2020-10/klavesa-compose-a-typografie/) - [../.XCompose](../.XCompose) [Compose key - Wikipedia (en)](https://en.wikipedia.org/wiki/Compose_key), [Klávesa Compose a typografický exkurz z rychlíku (cs)](https://jaandrle.github.io/blog/2020-10/klavesa-compose-a-typografie/)
- [./\*](./) - [./\*](./)
## Bash completion
Completions on demand, use `C--*`, see [./.bash_completions](./.bash_completions)

View File

@ -17,6 +17,7 @@ see for example [How to Store Dotfiles - A Bare Git Repository \| Atlassian Git
- Git: [.gitconfig](./.gitconfig), [gh](./.config/gh/config.yml) - Git: [.gitconfig](./.gitconfig), [gh](./.config/gh/config.yml)
- [KDE Neon](#kde-neon) - [KDE Neon](#kde-neon)
- [Mozilla Firefox](./.mozilla/firefox/README.md) - [Mozilla Firefox](./.mozilla/firefox/README.md)
- [Bin my scripts and executables](./bin/README.md)
## On a new machine ## On a new machine
1. install git 1. install git

43
bin/README.md Normal file
View File

@ -0,0 +1,43 @@
# bin — My helpers scritps/executable
## uu
- [./uu](./uu)
- [../.config/uurc](../.config/uurc)
## Lists executables via `npm`, `pip`, …
```
>_:npm ls --location global
/home/jaandrle/.nvm/versions/node/v18.19.0/lib
├── @abhagsain/ai-cli@1.2.3
├── @bitwarden/cli@2023.12.1
├── azure-functions-core-tools@4.0.5455
├── catage@1.1.3
├── chrome-remote-interface@0.33.0
├── corepack@0.24.0
├── cssmodules-language-server@1.3.1
├── eslint@8.56.0
├── jshint@2.13.6
├── json-server@0.17.4
├── mdexpr-agenda@0.6.0 -> ./../../../../../Vzdálené/GitHub/mdexpr-agenda
├── nodejsscript@1.0.0 -> ./../../../../../Vzdálené/GitHub/nodejsscript
├── npm@10.2.5
├── typescript-language-server@4.3.0
├── typescript@5.3.3
└── zx@7.2.3
```
```
>_:njs -p 'const executables= s.ls("~/.local/bin"); const pkgName= pkg=> pkg.slice(0, pkg.indexOf(" ")); s.$().run`python3 -m pip list`.split("\n").splice(2).filter(pkg=> executables.indexOf(pkgName(pkg))!==-1).join("\n")'
distro 1.7.0
keyring 23.5.0
mozvpn 0.2.1
names 0.3.0
openai 0.27.0
pip 22.0.2
playwright 1.31.1
podman-compose 1.0.3
tqdm 4.65.0
wheel 0.37.1
youtube-dl 2021.12.17
```