From 2f353a600dbeea856b501ca05d26758351908c17 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 15 Apr 2022 15:52:44 -0400 Subject: [PATCH] Fix the prompt tagging in macosx. Something is dumb with the unicode Terminal... so I'm punting for now. --- tcshrc.prompt.defs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcshrc.prompt.defs b/tcshrc.prompt.defs index d95a60e..4de75f6 100644 --- a/tcshrc.prompt.defs +++ b/tcshrc.prompt.defs @@ -92,6 +92,12 @@ foreach ch ($referencechars_raw) set referencechars=( $referencechars `env LC_ALL=C.UTF-8 printf "\u${ch}"` ) end +if( $CSHENV_SYSTEM == "Darwin" ) then + # Macos seems to dislike using printf to construct unicode chars. + # So you get a dumb set of ABCDXYZ + set referencechars="A B C D X Y Z" +endif + # Rotation alias precmd 'source ${CSHENV_DIR}/tcshrc.prompt.final' #alias postcmd echo doit