📚 Learning and exploring Bash and the shell in general; capturing useful snippets that I would otherwise too easily forget.
This is a somewhat hap-hazard collection of command-line stuff, not just Bash. The project is split into the following directories.
Miscellaneous scripts and scratch content.
See the README in misc/.
Learning and exploring fzf
https://github.com/junegunn/fzf -- a command-line fuzzy finder.
See the README in fzf/.
Learning and exploring Perl https://www.perl.org/.
See the README in perl/.
Learning and exploring Bash programmable completion.
See the README in completion/.
General clean-ups, TODOs and things I wish to implement for this project:
- Add
xargs
examples - Make an example with a fifo (a.k.a "named pipe")
- DONE Programmable completion. Learn the very basics.
- DONE
bash-completion
examples. Learn the very basics and explore a real example likedocker
. I'm especially interested in how to invoke completions in a non-interactive way, like you would need for automated testing.