get_power_info is defined in PRbL/functions, not in quickinfo.bashrc itself. On systems where PRbL is sourced from an older GitHub copy or the function is unavailable (e.g. WSL, minimal installs), the bare call crashes with 'command not found'. Guard with declare -F so the power block is silently skipped when the function is not loaded. |
||
|---|---|---|
| .. | ||
| 01-aliases.bashrc | ||
| 02-mediatools.bashrc | ||
| 11-quickinfo.bashrc | ||
| 11-quickinfo.settings | ||