Unicode bash comment

This commit is contained in:
Meutel 2017-05-01 18:48:25 +02:00
parent c823d0e411
commit d6593cec58

View File

@ -91,6 +91,7 @@ export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
##### PROMPT ##### ##### PROMPT #####
prompt_status() prompt_status()
{ {
# unicode to hex: echo -ne "\u2620" | hexdump -C
if [[ "$exitStatus" == "0" ]] if [[ "$exitStatus" == "0" ]]
then then
echo -n "${GREENB}\xE2\x9a\x90" echo -n "${GREENB}\xE2\x9a\x90"