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:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Comprehensive test suite for all Bash Buddy operating modes
|
||||
# Comprehensive test suite for all Super Man operating modes
|
||||
# Tests all non-interactive modes with performance analysis
|
||||
|
||||
# Get script directory
|
||||
@@ -10,11 +10,11 @@ PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
source "$SCRIPT_DIR/test-framework.sh"
|
||||
|
||||
# Set script path
|
||||
SCRIPT_PATH="$PROJECT_DIR/bash-helper.sh"
|
||||
SCRIPT_PATH="$PROJECT_DIR/super-man.sh"
|
||||
|
||||
# Verify script exists
|
||||
if [ ! -f "$SCRIPT_PATH" ]; then
|
||||
echo -e "${RED}Error: bash-helper.sh not found at $SCRIPT_PATH${NC}"
|
||||
echo -e "${RED}Error: super-man.sh not found at $SCRIPT_PATH${NC}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -34,7 +34,7 @@ print_section "Help & Informational Modes"
|
||||
run_test_with_output_check \
|
||||
"Help display (--help)" \
|
||||
"$SCRIPT_PATH --help" \
|
||||
"Bash Buddy"
|
||||
"Super Man"
|
||||
|
||||
run_test_with_output_check \
|
||||
"Help display (-h)" \
|
||||
|
||||
Reference in New Issue
Block a user