This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -euo pipefail | |
| # Simple interactive menu: | |
| # - Navigate with Up/Down arrows | |
| # - Press 1..9 to select instantly (if present) | |
| # - For 10+ items, type digits (e.g. 12) then Enter | |
| # - Press Enter to confirm current selection | |
| # - Press q or Esc to quit |