Filippo Giunchedi has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/328237 )

Change subject: admin: fix .bashrc for filippo
......................................................................

admin: fix .bashrc for filippo

Change-Id: I877df680d0a686af9c0f698a07a56125419f12b6
---
M modules/admin/files/home/filippo/.bashrc
1 file changed, 4 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/37/328237/1

diff --git a/modules/admin/files/home/filippo/.bashrc 
b/modules/admin/files/home/filippo/.bashrc
index ca2475a..1665d21 100644
--- a/modules/admin/files/home/filippo/.bashrc
+++ b/modules/admin/files/home/filippo/.bashrc
@@ -20,16 +20,14 @@
 alias proxy-on="export http_proxy=$webproxy_url https_proxy=$webproxy_url"
 alias proxy-off="unset http_proxy https_proxy"
 
-# set options for interactive-only shells below
-if [ -n "$PS1" ]; then
-    config_interactive()
-fi
-
 function config_interactive() {
-
     RESET="$(tput sgr0)"
     BRIGHT="$(tput bold)"
     RED="$(tput setaf 1)"
     WHITE="$(tput setaf 7)"
     export 
PS1='\[$BRIGHT\]\[$RED\]\h\[$RESET\]:\w\[$BRIGHT\]\[$WHITE\]\$\[$RESET\] '
 }
+
+if [ -n "$PS1" ]; then
+    config_interactive
+fi

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I877df680d0a686af9c0f698a07a56125419f12b6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to