aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-04-06 00:11:54 -0400
committertdro <tdro@users.noreply.github.com>2020-04-06 00:11:54 -0400
commit7ef0e727405cbbf2973cace6f3f5aa5be0879792 (patch)
treef9b1a291dc8f5d0a74629f3b8a108e64a7330754 /.bashrc
parent800b5b45c46b12891adfa091042f5c00c8873a31 (diff)
downloaddotfiles-7ef0e727405cbbf2973cace6f3f5aa5be0879792.tar.gz
dotfiles-7ef0e727405cbbf2973cace6f3f5aa5be0879792.tar.bz2
dotfiles-7ef0e727405cbbf2973cace6f3f5aa5be0879792.zip
.bashrc: Source profile and bashrc interchangeably
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 30b0a0a..5a7ab73 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,7 +1,7 @@
#!/bin/bash
# source exports
-. "$HOME/.bash_profile"
+[ -z "$DISPLAY" ] || . "$HOME/.bash_profile"
# bail if not interactive
[[ $- != *i* ]] && return;