.pystartup
changeset 316 27b778ebe490
parent 311 a63540742a19
--- a/.pystartup	Sat Feb 18 15:08:56 2012 +0200
+++ b/.pystartup	Sat Mar 10 11:58:01 2012 +0200
@@ -23,9 +23,9 @@
 
 term_with_colors = ['xterm', 'xterm-color', 'xterm-256color', 'linux', 'screen', 'screen-256color', 'screen-bce']
 if os.environ.get('TERM') in term_with_colors:
-    green='\033[32m'
-    red='\033[31m'
-    reset='\033[0m'
+    green='\001\033[32m\002'
+    red='\001\033[31m\002'
+    reset='\001\033[0m\002'
     sys.ps1 = red + '>>> ' + reset
     sys.ps2 = green + '... ' + reset
 del term_with_colors