Skip to content

fix: install script (unbound var) - #5

Merged
IamShreshth merged 1 commit into
IamShreshth:mainfrom
youngoat911:linux_ins
Oct 14, 2026
Merged

IamShreshth merged 1 commit into
IamShreshth:mainfrom
youngoat911:linux_ins

Conversation

@youngoat911

Copy link
Copy Markdown
Contributor

Changes

1. Fix unbound variable error in files/install.sh

  • ${BASH_SOURCE[0]:-$0} uses $0 as a fallback when BASH_SOURCE[0] is unset, which prevents the nounset error when the script is piped (curl ... | bash).
  • SCRIPT_DIR now safely defaults to an empty string if dirname or cd fails.

2. New "Linux Installation" section in README

Inserted between Quick Start and Capabilities:

  • Universal (All Distros): the curl one-liner
  • Fedora: sudo dnf install -y cargo rust + install script + shell activation
  • Arch Linux: sudo pacman -S --noconfirm rust + install script + shell activation, plus a note about future AUR availability
  • Ubuntu / Debian: sudo apt update && sudo apt install -y cargo rustc + install script + shell activation
  • Keybinding note: Ctrl+Shift+T is typically intercepted by Linux terminal emulators (GNOME Terminal, Konsole, etc.), so Ctrl+Space is recommended via the config file.

Testing

Tested on Fedora.

@IamShreshth
IamShreshth merged commit 53180cd into IamShreshth:main Oct 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants