a couple of people asked what the point of the “login shell” distinction is in this diagram. here’s my understanding:
- sometimes your end up with nested shell sessions, for example if you start tmux
- you might want to avoid loading your shell config twice, for example to avoid PATH duplication
- the idea of a “login shell” is that one way to avoid this is by loading different config for the initial shell you open (the “login shell”) and for any nested shells
(3/?)