Skip to content

Make starship theme environment-specific for nealarch container - #4

Draft
Nvveen with Copilot wants to merge 2 commits into
mainfrom
copilot/make-starship-theme-env-specific
Draft

Make starship theme environment-specific for nealarch container#4
Nvveen with Copilot wants to merge 2 commits into
mainfrom
copilot/make-starship-theme-env-specific

Conversation

Copilot AI commented Mar 8, 2026

Copy link
Copy Markdown
Contributor

When running inside a nealarch container (NEALARCH=1), the starship prompt should use blue colors instead of green so the environment is immediately visually distinguishable from a normal Arch setup.

Changes

  • setup.sh: Extended NEALARCH detection to accept "1" in addition to "true", matching the actual env var convention (NEALARCH=1) documented in nealcontainer
  • environments/nealarch/config/.config/starship.toml: New environment-specific starship config with green → blue color substitutions, applied via stow when the nealarch environment is detected

Color mapping (green → blue)

Role Normal nealarch
Directory bg #007854 #003f8c
Git segment bg #1a6265 #1a3565
Git branch/status fg #00a86b #0099ff
Language version fg #0dbc79 #0d79bc
Original prompt

This section details on the original issue you should resolve

<issue_title>Make starship theme environment specific</issue_title>
<issue_description>Current theme is applicable to a 'normal' arch distribution, However, running an arch container from nealcontainer should allow the setup script to detect it's inside the container. This can be done by checking for the NEALARCH=1 env variable. When that is the case, instead of the green colors from a normal distro, change it to the equivalent blue, so I can immediately tell what shell I am in.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Nvveen <486978+Nvveen@users.noreply.github.com>
Copilot AI changed the title [WIP] Update starship theme for environment-specific colors Make starship theme environment-specific for nealarch container Mar 8, 2026
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.

Make starship theme environment specific

2 participants