summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
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