Yuvipanda has submitted this change and it was merged.

Change subject: bashrc: Fix TERM checks for xterm-256color
......................................................................


bashrc: Fix TERM checks for xterm-256color

Change-Id: I894a8cbdd832151c5019090765071b9afc314aff
---
M modules/base/templates/environment/skel/bashrc.erb
M modules/toollabs/files/rootrc
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/modules/base/templates/environment/skel/bashrc.erb 
b/modules/base/templates/environment/skel/bashrc.erb
index 43f2a66..bc8d0ed 100644
--- a/modules/base/templates/environment/skel/bashrc.erb
+++ b/modules/base/templates/environment/skel/bashrc.erb
@@ -39,6 +39,7 @@
 # set a fancy prompt (non-color, unless we know we "want" color)
 case "$TERM" in
     xterm-color) color_prompt=yes;;
+    xterm-256color) color_prompt=yes;;
 esac
 
 # uncomment for a colored prompt, if the terminal has the capability; turned
diff --git a/modules/toollabs/files/rootrc b/modules/toollabs/files/rootrc
index 5d06132..5e6d9a8 100644
--- a/modules/toollabs/files/rootrc
+++ b/modules/toollabs/files/rootrc
@@ -31,6 +31,7 @@
 # set a fancy prompt (non-color, unless we know we "want" color)
 case "$TERM" in
     xterm-color) color_prompt=yes;;
+    xterm-256color) color_prompt=yes;;
 esac
 
 # uncomment for a colored prompt, if the terminal has the capability; turned

-- 
To view, visit https://gerrit.wikimedia.org/r/309222
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I894a8cbdd832151c5019090765071b9afc314aff
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk <a...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to