1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-31 08:27:46 +02:00

removing bloat from .profile and adding zshrc

This commit is contained in:
tiynger 2019-10-07 19:26:47 +02:00
parent 6e63334de3
commit 6ce3718a2c

@ -30,9 +30,8 @@ export LESS_TERMCAP_se="$(printf '%b' '')"; a="${a%_}"
export LESS_TERMCAP_us="$(printf '%b' '')"; a="${a%_}"
export LESS_TERMCAP_ue="$(printf '%b' '')"; a="${a%_}"
mpd >/dev/null 2>&1 &
echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
echo "$0" | grep "zsh$" >/dev/null && [ -f $ZDOTDIR/.zshrc ] && source "$ZDOTDIR/.zshrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx