Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (42 sloc) 1.28 KB
#!/usr/bin/env bash
if [[ -z ${FORCE_SIMPLE_ICONS+x} && "$UTF8_LANG" == 1 ]] && ( [[ "$IS_TTY" == 0 || "$SYSTEM_TYPE" == "Win10_Linux" ]] ); then
export ICON_FOR_FALSE=""
export ICON_FOR_TRUE=""
export ICON_FOR_NEXT=""
export ICON_FOR_ARROW_UP=""
export ICON_FOR_ARROW_DOWN=""
export ICON_FOR_ARROW_LEFT=""
export ICON_FOR_ARROW_RIGHT=""
export ICON_FOR_SUN=""
export ICON_FOR_UMBRELLA=""
export ICON_FOR_CLOUD=""
export ICON_FOR_FULL_HEART=""
export ICON_FOR_EMPTY_HEADRT=""
export ICON_FOR_AT="@"
export ICON_FOR_UP=""
export ICON_FOR_DOWN=""
export ICON_FOR_LEFT=""
export ICON_FOR_RIGHT=""
export ICON_FOR_STASHED=""
export ICON_FOR_UNTRACKED=""
else
export ICON_FOR_FALSE="x"
export ICON_FOR_TRUE="v"
export ICON_FOR_NEXT="#"
export ICON_FOR_ARROW_UP="^"
export ICON_FOR_ARROW_DOWN="v"
export ICON_FOR_ARROW_LEFT="<"
export ICON_FOR_ARROW_RIGHT=">"
export ICON_FOR_SUN="*"
export ICON_FOR_UMBRELLA="T"
export ICON_FOR_CLOUD="W"
export ICON_FOR_FULL_HEART="H"
export ICON_FOR_EMPTY_HEADRT="h"
export ICON_FOR_AT="@"
export ICON_FOR_UP="^"
export ICON_FOR_DOWN="v"
export ICON_FOR_LEFT="<"
export ICON_FOR_RIGHT=">"
export ICON_FOR_STASHED="%"
export ICON_FOR_UNTRACKED="?"
fi