Different bash binary scripts
  • Shell 99.8%
  • Makefile 0.2%
Find a file
2026-01-23 23:22:46 +01:00
bin added ports 2026-01-23 23:22:46 +01:00
install.sh TmuxNavigateDown 2026-01-16 22:52:31 +01:00
makefile some changes 2025-10-22 15:53:58 +02:00
README.md typos 2026-01-23 13:03:58 +01:00

bash binaries

colorls.sh

Just prints colors with the "tput setaf $n" where $n is a number between 0 and 255

gclone.sh

This is a simple repo cloning tool for my own instance of forgejo. It works with the forgejo api and fetches the accessible repos to let the user select them via fzf and clone them either into ./$org/$repo or $GIT/$org/$repo -> $GIT is fetched and searches in the ~/ dir for any "git/" dir, and sets it to $GIT if found.

gitsetup.sh

This tool is a bash tui for setting up git settings like branch or a token for git authentication via https. Also can set name, email..

resolve.sh

nslookup.exe wrapper

This does resolve ip-adresses to their hostnames via dig and the default gateway.

ns-copy.sh

This works only in WSL (Windows Subsystem for Linux) as it uses nslookup.exe to get the ip from a hostname and copy it to the clipboard

Needed this for some documentation process some time ago

gcm

This is a neat way to commit your git files with gum and fzf/skim

  • Lets you select files with diff preview
  • Write multiline commit messages with ease!
  • Push directly to the remote with -p or --push flag!

preview-cmd

This one is really cool! It lets you auto preview most of the things for fzf/skim etc..

  • Previews files with cat or bat - Whatever is available :)

  • Previews folders with eza, exa or plain ls with colors.

  • Can preview tmux-sessions strongly opinonated name format with the sesionizer from ThePrimeagen

  • Strongly advised to use with sessionizer script as this is already tweaked to let fzf or skim use the script properly

  • Just use the preview script as the previewer - like so:

FZF_DEFAULT_OPTS='--preview="preview-cmd -- {}"'     # for fzf

SKIM_DEFAULT_OPTIONS='--preview="preview-cmd -- {}"' # for skim

export FZF_DEFAULT_OPTS SKIM_DEFAULT_OPTIONS

Note

And more to discover for yourself :)