FreeBSD Unicode printing.
This commit is contained in:
@ -101,8 +101,8 @@ set prompt_hsym=0
|
||||
|
||||
set referencechars=()
|
||||
foreach ch ($referencechars_raw)
|
||||
set unicode=`printf "\\u${ch}"`
|
||||
set referencechars=( $referencechars `printf "${unicode}"` )
|
||||
set unicode=`gprintf "\\u${ch}"`
|
||||
set referencechars=( $referencechars `gprintf "${unicode}"` )
|
||||
end
|
||||
|
||||
if( $CSHENV_SYSTEM == "Darwin" ) then
|
||||
|
@ -281,9 +281,9 @@ if( 0 == ${__res} ) then
|
||||
|
||||
|
||||
# If the font doesn't support the special branch symbol...
|
||||
set branch_symbol=`printf "\uE0A0"`
|
||||
set branch_symbol=`gprintf "\uE0A0"`
|
||||
# I could always fallback to this one... (keep padded spaces... for alignment)
|
||||
set branch_symbol=`printf '\u2387\ \ '`
|
||||
set branch_symbol=`gprintf '\u2387\ \ '`
|
||||
git rev-list --count --left-right \@\{upstream\}..HEAD>&/dev/null
|
||||
set __res=$?
|
||||
#echo "Got: ${git_counts}"
|
||||
|
Reference in New Issue
Block a user