Skip to content
This repository
Browse code

Escape as we do not mean a unicode sequence :)

  • Loading branch information...
commit 45936a2c0c404ca5c1c203c52a114b2342c7b271 1 parent c6992c9
Wayne E. Seguin authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 contrib/ps1_functions
6 contrib/ps1_functions
@@ -26,12 +26,12 @@
26 26 ps1_identity()
27 27 {
28 28 if [[ $UID -eq 0 ]] ; then
29   - printf " \033[31m\u\033[0m"
  29 + printf " \033[31m\\\u\033[0m"
30 30 else
31   - printf " \033[32m\u\033[0m"
  31 + printf " \033[32m\\\u\033[0m"
32 32 fi
33 33
34   - printf "@\033[36m\h\033[0m:\w "
  34 + printf "@\033[36m\\h\033[0m:\w "
35 35
36 36 return 0
37 37 }

0 comments on commit 45936a2

Please sign in to comment.
Something went wrong with that request. Please try again.