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:
parent
6d64bee7fe
commit
5272288a75
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue