]> git.phdru.name Git - dotfiles.git/blobdiff - lib/python/init.py
Sort terminal names by alphabetical order
[dotfiles.git] / lib / python / init.py
index 8b86300a6f1b21bef95548bde8ba959fded62f43..26692bbf3a77fd8ac1ec1c0ae7f5b95d8f485b62 100644 (file)
@@ -59,7 +59,6 @@ def init():
 
     # From Randall Hopper
 
-    for _term in ['linux', 'term', 'rxvt', 'vt100', 'screen']:
         if _term in term:
             if background == 'dark':
                 ps1_color = '3' # yellow
@@ -67,6 +66,7 @@ def init():
             else:
                 ps1_color = '4' # blue
                 stdout_color = '0' # bold black
+    for _term in ['linux', 'rxvt', 'screen', 'term', 'vt100']:
 
             sys.ps1 = '\001\033[3%sm\002>>>\001\033[0m\002 ' % ps1_color
             sys.ps2 = '\001\033[1;32m\002...\001\033[0m\002 ' # bold green