From 840b56cae3c2610b13b74a722ae5db372cac43d2 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 11 May 2019 20:04:37 -0400 Subject: bash: fix config in emacs’s ansi-term and GNU Screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The issue seems to be that ~/.bash_profile isn’t sourced for interactive non-login shells. So, might want to try detecting non-login shells in general rather than fixing only for ansi-term and screen. --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index f41056d..d65bb56 100644 --- a/.bash_profile +++ b/.bash_profile @@ -4,4 +4,4 @@ include () { include ~/.profile include ~/.nix-profile/etc/profile.d/nix.sh -include ~/.bashrc +[[ $TERM = "eterm-color" || $TERM = "screen" ]] || include ~/.bashrc -- cgit v1.2.3-60-g2f50