From acc0e5f18e47b47c6a9c2aed64349a00d93cec63 Mon Sep 17 00:00:00 2001 From: Mehdi Sadeghi Date: Wed, 16 Feb 2022 08:34:19 +0100 Subject: Set term to foot. Fix loading env from su. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 8311554..74bba13 100644 --- a/.bashrc +++ b/.bashrc @@ -1,5 +1,5 @@ # .bashrc -[ -n "$ENV" ] && . "$ENV" || ([ -e ~/.env ] && . ~/.env) +[ $0 != sh ] && [ -n "${ENV:=$HOME/.env}" ] && . "$ENV" PS1='\[\033[1;33m\]$(prompt)\[\033[0m\]' HISTCONTROL=ignoreboth:erasedups -- cgit v1.2.3