CircuitForge node bootstrap/installer, forked from PRbL-bashrc
for each in {1..${#_extras[@]}} doesn't expand as a range - bash does
brace expansion before parameter expansion, so the range endpoint
isn't resolved yet when brace expansion runs. The loop always ran
exactly once, leaving preselect at length 1 regardless of how many
extras exist. Invisible until now because there was only ever one
extra (model-cache-redirect); would have silently broken any
preselected-true default on a 2nd+ extra. Switched to a C-style loop.
This is almost certainly the multiselect misbehavior from years back -
tracked down while verifying multiselect() itself (functions/PRbL
submodule, fixed separately) didn't have a toggle-isolation bug.
|
||
|---|---|---|
| cf-apps | ||
| extras | ||
| lib | ||
| PRbL@7b63dbca46 | ||
| scripts | ||
| .gitignore | ||
| .gitmodules | ||
| functions | ||
| install.sh | ||
| README.md | ||
| scriptexample.sh | ||
Pyr0ball's Reductive [bash] Library Auto-Installer
This installer depends on PRbL and should be cloned recursively:
git clone --recurse-submodules https://github.com/pyr0ball/PRbL-bashrc.git
cd PRbL-bashrc/
./install.sh -i
This installer sets up a number of bash-enhancing features:
- Easy access to easy-to-use functions in bash scripting (check out ./PRbL/demo.sh for details)
- A pluggable environment configuration via ~/.bashrc.d/
- An informative terminal login splash page
Currently this installer only handles bash-like environments.
Planned features:
- Expanded automatic OS detection and package handling
- Modular login splash page