From: Alexander Barton Date: Sun, 3 Aug 2014 00:41:20 +0000 (+0200) Subject: Revert "user/bash_profile: enforce reading of profile files in tmux(1)" X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ConfigScripts.git;a=commitdiff_plain;h=fb307ee3b9f8ef9d10572862681deb4fd2538559 Revert "user/bash_profile: enforce reading of profile files in tmux(1)" At least on Debian Linux, this isn't required and leads to multiple includes of /etc/profile. This reverts commit 8ff4f33ba62c64b0c4f07c4ce6b7a2a2bce08a5a. --- diff --git a/user/bash_profile b/user/bash_profile index 414963b..0c0eded 100644 --- a/user/bash_profile +++ b/user/bash_profile @@ -12,9 +12,6 @@ [ -e ~/.ConfigScripts.debug ] && echo " .. ~/.bash_profile ..." -# Enforce login shell behaviour when running in tmux(1): -[ -n "$TMUX" ] && unset PROFILEREAD - [ -z "$PROFILEREAD" -a -r ~/.etc/profile ] && source ~/.etc/profile [ -z "$PROFILEREAD" -a -r /etc/profile ] && source /etc/profile [ -r ~/.bash_profile.user ] && source ~/.bash_profile.user