From 910f194c4e4f45aef6b9adee5eb668d66f470110 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 3 Jun 2022 20:12:55 -0400 Subject: [PATCH] Use a more portable branch symbol. (I need a way to auto-detect the powerline one and use it when that is present.) --- tcshrc.prompt.final | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcshrc.prompt.final b/tcshrc.prompt.final index de1fd53..a43bc8b 100644 --- a/tcshrc.prompt.final +++ b/tcshrc.prompt.final @@ -132,7 +132,7 @@ if( 0 == ${__res} ) then # If the font doesn't support the special branch symbol... set branch_symbol=`printf "\uE0A0"` # I could always fallback to this one... (keep padded spaces... for alignment) - #set branch_symbol=`printf "\u2387 "` + set branch_symbol=`printf '\u2387\ \ \ '` set git_prompt="%{${csi}0;60m%}(${branch_symbol} %{${csi}3;4;38;2;255;192;192;58;2;255;255;255;68;2;255;255;255m%}${git_branch}%{${csi}m%}) " #set git_prompt="%{${csi}10D${csi}2D(xyz${git_branch})${csi}m%%}"