Repository navigation
Tell the tree from the commands in the container shell, and colour its prompt - #23
Merged
Merged
Conversation
…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.
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 shell's greeting listed
corpusin the same column asspear-chatandclaude, 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;
lsandgrepcolour 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).