1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2025-02-05 07:43:22 -08:00

source /etc/profile by hand

apparently other shells do this but zsh doesn't? whatever
This commit is contained in:
Connor Olding 2019-06-05 16:10:43 -07:00
parent 6d64bee7fe
commit 5272288a75

View file

@ -1,3 +1,4 @@
[ -e /etc/profile ] && emulate sh -c "source /etc/profile"
if [ "$SHLVL" -le 1 ] && ! expr "$TERM" : screen >/dev/null; then
if which tmux >/dev/null 2>/dev/null; then
tmux attach || tmux && exit