dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit 2e8fa83f194855e000acac051fdaba9fa5cbd857
parent e6f6a83082551692770f6c83c2112fb2a2f961ea
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 30 Dec 2018 18:41:34 -0500

bash only run bashrc

Diffstat:
M.profile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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