refactor: rebrand bash-helper to super-man + ESC returns straight to menu

Rename bash-helper.sh -> super-man.sh and update all docs/tests to the
super-man name and alias. In interactive mode, pressing Esc in the flag
browser now returns directly to the home menu, removing the intermediary
"Press Enter to search another command" prompt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
leetcrypt
2026-06-05 20:52:18 -07:00
parent 06bec2d249
commit 2fb20b0682
22 changed files with 419 additions and 412 deletions
+10 -10
View File
@@ -1,4 +1,4 @@
# Bash Buddy
# Super Man
🚀 CLI assistant for impromptu bash scripting help
@@ -28,24 +28,24 @@ sudo pacman -S fzf # Arch
```bash
# Clone the repository
git clone http://localhost:3030/trill-technician/bash-buddy.git
cd bash-buddy
git clone http://localhost:3030/trill-technician/super-man.git
cd super-man
# Make executable
chmod +x bash-helper.sh
chmod +x super-man.sh
# Optional: Install system-wide
sudo cp bash-helper.sh /usr/local/bin/bash-helper
sudo cp super-man.sh /usr/local/bin/super-man
# Or add to your PATH
echo 'export PATH="$HOME/bash-buddy:$PATH"' >> ~/.bashrc
echo 'export PATH="$HOME/super-man:$PATH"' >> ~/.bashrc
source ~/.bashrc
```
## Usage
```bash
./bash-helper.sh
./super-man.sh
```
### Workflow
@@ -59,7 +59,7 @@ source ~/.bashrc
### Example Session
```
$ ./bash-helper.sh
$ ./super-man.sh
> ls:List directory contents
cd:Change the current directory
@@ -102,7 +102,7 @@ The script includes help for these common bash commands:
### Adding More Commands
Edit the `COMMANDS` array in `bash-helper.sh`:
Edit the `COMMANDS` array in `super-man.sh`:
```bash
COMMANDS=(
@@ -143,7 +143,7 @@ NC='\033[0m' # No Color
```bash
# Add to ~/.bashrc
alias bh='bash-helper.sh'
alias bh='super-man.sh'
```
## Contributing