Color "Proceed with installation?" prompt in Edera installer script#21
Open
Color "Proceed with installation?" prompt in Edera installer script#21
Conversation
…setup.sh Agent-Logs-Url: https://github.com/edera-dev/learn/sessions/a5325afd-b463-46b7-8077-9f4f36f65557 Co-authored-by: jspeed-meyers <54914994+jspeed-meyers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add color to 'Proceed ...' statements in Edera installer script
Color "Proceed with installation?" prompt in Edera installer script
Apr 24, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the Edera “on-installer” install.sh script to visually highlight the interactive confirmation prompt by applying the same cyan coloring used in the EC2 setup scripts, making the “Proceed with installation?” prompt harder to miss during runs.
Changes:
- Add
CYANtosetup_colors()with an empty-string fallback for non-TTY output. - Colorize the “Proceed with installation?” prompt in both interactive-stdin and piped-stdin (
/dev/tty) confirmation paths.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
install.shinstaller script was missing the cyan prompt coloring applied to confirmation prompts inec2-setup.sh, leaving "Proceed with installation?" unstyled and easy to miss.Changes
install.sh—setup_colors(): AddedCYAN=$'\033[1;36m'(andCYAN=''for non-TTY fallback), matchingec2-setup.sh.install.sh—confirm(): Wrapped the prompt text with${CYAN}...${RESET}on both the TTY and piped-stdin code paths.