this post was submitted on 18 Jul 2024
229 points (99.6% liked)
Programmer Humor
19488 readers
1011 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Afaik the difference is whether a session is interactive or not, and non-interactive ones don't source the rc
But what would I want in a login shell that I don't also want in a non login shell?
Presumably just to get rid of unnecessary stuff that would slow down the start of all bash instances. Also aliases that could fuck with scripts