Skip to content

Commit

Permalink
use π symbol for __prompt_ending()
Browse files Browse the repository at this point in the history
if Raspbian is detected, and the terminal is a smart one that
can display UTF-8 characters, then use π as an ending character
on non-root sessions.

Issue #48
  • Loading branch information
sinewalker committed Jun 14, 2018
1 parent 8bd98c7 commit 3106356
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/20_prompt.sh
Expand Up @@ -170,8 +170,11 @@ function __prompt_ending(){
if [[ ${__TERM} == smart ]]; then
if [[ "${__USER}" == "root" ]]; then
__ENDING="Ω"
else
__ENDING="β"
else if is_raspbian; then
__ENDING="π"
else
__ENDING="β"
fi
fi
else
if [[ "${__USER}" == "root" ]]; then
Expand Down

0 comments on commit 3106356

Please sign in to comment.