FreeBSD Unicode printing.
This commit is contained in:
@ -101,8 +101,8 @@ set prompt_hsym=0
|
|||||||
|
|
||||||
set referencechars=()
|
set referencechars=()
|
||||||
foreach ch ($referencechars_raw)
|
foreach ch ($referencechars_raw)
|
||||||
set unicode=`printf "\\u${ch}"`
|
set unicode=`gprintf "\\u${ch}"`
|
||||||
set referencechars=( $referencechars `printf "${unicode}"` )
|
set referencechars=( $referencechars `gprintf "${unicode}"` )
|
||||||
end
|
end
|
||||||
|
|
||||||
if( $CSHENV_SYSTEM == "Darwin" ) then
|
if( $CSHENV_SYSTEM == "Darwin" ) then
|
||||||
|
|||||||
@ -281,9 +281,9 @@ if( 0 == ${__res} ) then
|
|||||||
|
|
||||||
|
|
||||||
# If the font doesn't support the special branch symbol...
|
# 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)
|
# 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
|
git rev-list --count --left-right \@\{upstream\}..HEAD>&/dev/null
|
||||||
set __res=$?
|
set __res=$?
|
||||||
#echo "Got: ${git_counts}"
|
#echo "Got: ${git_counts}"
|
||||||
|
|||||||
Reference in New Issue
Block a user