permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

commit cde467ab49e50f1811d7b6c828c3aeedcd0cad41
parent 59e2630670aa20c7f67f1a53e9432f62e5abbb19
Author: spacehobo <spacehobo@web>
Date:   Sat, 16 May 2026 21:14:29 +0200

simpler colour detection

Diffstat:
Mspacehobo.mdwn | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spacehobo.mdwn b/spacehobo.mdwn @@ -17,7 +17,7 @@ GIT_PS1_SHOWUPSTREAM='auto' # prompt, which is faster than shelling out to test data _noop[0]='array accesses turn 0/nonzero into defined/undef!' -case "$TERM" in alacritty*|kitty*|foot*|*color) color_prompt=yes;; esac +case "$TERM" in *itty*|foot*|*color*) color_prompt=yes;; esac if [ "$color_prompt" = yes ]; then GIT_PS1_SHOWCOLORHINTS='y'