]> arthur.barton.de Git - ConfigScripts.git/commitdiff
Revert "user/bash_profile: enforce reading of profile files in tmux(1)"
authorAlexander Barton <alex@barton.de>
Sun, 3 Aug 2014 00:41:20 +0000 (02:41 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 3 Aug 2014 00:41:20 +0000 (02:41 +0200)
At least on Debian Linux, this isn't required and leads to multiple
includes of /etc/profile.

This reverts commit 8ff4f33ba62c64b0c4f07c4ce6b7a2a2bce08a5a.

user/bash_profile

index 414963b5e833ac13afa7574d9742441f68e3004a..0c0eded6bed469b4bad98307234de18302953078 100644 (file)
@@ -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