]> git.corax.cc Git - toolbox/commit
toolbox: Implement toolbox initialization and module loading
authorMatthias Kruk <m@m10k.eu>
Sat, 20 Mar 2021 23:23:32 +0000 (08:23 +0900)
committerMatthias Kruk <m@m10k.eu>
Sat, 20 Mar 2021 23:23:32 +0000 (08:23 +0900)
commit65aa6a56d1eabbdfaf1d26281eb290d4178f15ef
treeca2d66d736490c8322325401d8a2b7ebbd67367b
toolbox: Implement toolbox initialization and module loading

When writing shell scripts, I often find myself copying or rewriting
functions because bash does not provide a mechanism to easily reuse
code. This commit adds a mechanism for loadable bash "modules".
toolbox.sh [new file with mode: 0644]