Skip to content

Tell the tree from the commands in the container shell, and colour its prompt - #23

Merged
daniel-rossier merged 1 commit into
mainfrom
shell-banner-prompt
Nov 19, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
shell-banner-prompt

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

The shell's greeting listed corpus in the same column as spear-chat and claude, so it read as a command. It now states what the tree is in a sentence, then lists the commands under a heading.

The prompt gets colour, the directory and the current git branch; ls and grep colour their output. The host's own prompt cannot be reused: none of its startup files or tools are in the container.

Tried in the image on a known corpus and on an unknown tree, with and without a terminal (no escape codes without one).

…s prompt

The greeting listed the corpus in the same column as the two commands, and
read as a third one. It now says what the tree is in a sentence of its own,
then lists the commands.

The prompt was plain. It shows the directory and the git branch in colour,
under a name that says this is the container, and ls and grep colour their
output.
@daniel-rossier
daniel-rossier merged commit 98a1a16 into main Nov 19, 2026
2 checks passed
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.

1 participant