bash only run bashrc
This commit is contained in:
parent
e6af94f126
commit
146f9f6cc8
1 changed files with 2 additions and 2 deletions
4
.profile
4
.profile
|
@ -25,10 +25,10 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||||
|
|
||||||
[ ! -f ~/.shortcuts ] && shortcuts >/dev/null 2>&1
|
[ ! -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.
|
# Start graphical server if i3 not already running.
|
||||||
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx
|
[ "$(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
|
sudo -n loadkeys ~/.scripts/ttymaps.kmap 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue