summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-12-30 18:41:34 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-12-30 18:41:34 -0500
commit146f9f6cc882a6cd49a97accc0387213cbb549e4 (patch)
tree5de9cc31d91647bef3a0fabece0aff26500893f0
parente6af94f1264520103d8e61f97f136e6efc534ac3 (diff)
downloadeibhear-146f9f6cc882a6cd49a97accc0387213cbb549e4.tar.gz
eibhear-146f9f6cc882a6cd49a97accc0387213cbb549e4.tar.zst
eibhear-146f9f6cc882a6cd49a97accc0387213cbb549e4.zip
bash only run bashrc
-rw-r--r--.profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.profile b/.profile
index a26b4ce..0fbcc8e 100644
--- a/.profile
+++ b/.profile
@@ -25,10 +25,10 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ ! -f ~/.shortcuts ] && shortcuts >/dev/null 2>&1
-[ -f ~/.bashrc ] && source "$HOME/.bashrc"
+echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx
-# Switch escape and caps and use wal colors if tty:
+# Switch escape and caps if tty:
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null