Collection of simple and tiny shell scripts (<100 lines).
- curl
- fzf
- jq
- tealdeer (for tldr.sh)
cht.sh |
fuzzy cht.sh |
ignore.sh |
search and add .gitignore templates for various languages from GitHub gitignore templates API |
license.sh |
search and add LICENSE file for popular licenses from GitHub Licenses API |
tldr.sh |
fuzzy tealdeer (tldr) |
- Copy the
.sh
file somewhere in the$PATH
, and make it executable. (I keep the scripts in~/.local/bin
)
- Simply remove the script from the
$PATH
.
- Simply call the
.sh
file from anywhere after adding them to the$PATH
(for ex.ignore.sh
).
- ThePrimeagen for
cht.sh
- Elijah Manor for
tldr.sh
- cht.sh & GitHub for the api's
- Awesome cli tools - curl, fzf, jq, tealdeer
If you use Kitty Terminal, you can add these to the custom keymaps
## cht.sh
map kitty_mod+space>.>c launch --hold sh -c "if command -v cht.sh >/dev/null 2>&1; then cht.sh; else echo 'cht.sh not found'; fi"
## ignore.sh
map kitty_mod+space>.>i launch --cwd=current --hold sh -c "if command -v ignore.sh >/dev/null 2>&1; then ignore.sh; else echo 'ignore.sh not found'; fi"
## license.sh
map kitty_mod+space>.>l launch --cwd=current --hold sh -c "if command -v license.sh >/dev/null 2>&1; then license.sh; else echo 'license.sh not found'; fi"
## tldr.sh
map kitty_mod+space>.>t launch --hold sh -c "if command -v tldr.sh >/dev/null 2>&1; then tldr.sh; else echo 'tldr.sh not found'; fi"