Findings from a code scan on 2026-10-04.
src/plugins/minikube.sh:10- theif ! cmd; then __var=$?pattern stores the status of the negated test, which is always 0 inside thethenbranch (if ! false; then echo $?; fiprints 0), so a failed completion/source is recorded as success andbashy_errors(src/bashy.sh:271,result = 0means ok) never shows it. The same bug is inbash_completions_system.sh:9,18,bash_it.sh:56,eksctl.sh:14,fzf.sh:13,google_cloud_sdk.sh:10,17,kurtosis.sh:9,ng.sh:8,nvm.sh:11,18,oc.sh:10,powerline.sh:18,pureline.sh:14,python_venv.sh:15,rvm.sh:15,starship.sh:10,system_default_bashrc.sh:10andvirtualenvwrapper.sh:33; set__var=1asbash_completions_prog.sh:11does, and add a test for a failing activation.src/plugins/rvm.sh:16- assigns the message to_error(single underscore), a stray global, instead of the__errornameref, so the reason is lost; use__error.
src/plugins/rvm.sh:10- exports a hardcodedRUBY_VERSION="2.3.3"(a long-EOL Ruby) on every activation with no comment, against the "never hardcode a version" rule inCLAUDE.md:20; drop it and let rvm's own default/.ruby-versiondecide, or document why it is pinned.src/plugins/eksctl.sh:15- error message sayseskctl; fix the typo.src/plugins/powerline-shell.sh:14- uses the externalwhich(alsopypowerline.sh:16), forking a process and depending on a non-POSIX tool; use thecommand -vbuiltin instead.doc/design.txt:28- says "An installer is a plain bash function with no parameters", but every installer takes--forcethroughbashy_install_args "$@"(src/core/install.sh:68, README "Writing an installer"); update the sentence.