I have a custom screen configuration myscreenconfigand .screenrc. myscreenconfigas follows:
source .screenrc
screen 0 bash
title 'notes'
screen 1 bash
title 'bash'
[etc.]
.screenrc has these lines at the top:
altscreen on
shell -${SHELL}
My .bash_profilefile sets a lot of things and then calls source $HOME/.bash_aliases.
If I start screenwithout any arguments, mine .bash_profileloads and boots .bash_aliases. But if I run the screen through screen -c myscreenconfig, it only loads .bash_profile, not .bash_aliases. What for? How can i fix this?
source
share