by misonic on 2/17/25, 12:39 AM with 17 comments
by jjnoakes on 2/17/25, 1:44 AM
Many times when I help someone debug their shell, the root cause is not understanding what each of those files is for.
Adding an echo to the wrong one and not having it check if the shell is interactive can break all sorts of things like scp for example. And in weird and non-obvious ways.
by philsnow on 2/17/25, 1:56 AM
Things like adding to the PATH, aliases (well, ones that work in both bash and zsh), shell functions, etc, can just go in .commonrc and be forgotten. It's nice.
by raggi on 2/17/25, 2:12 AM
Problem 2: comes from an all too common choice not to understand profiles and login shells. This includes vscodes choices.
Problem X: adding empty string to your path. This has all kinds of bad outcomes.
by defrost on 2/17/25, 1:54 AM
I deal with both command.com and bash on a regular basis and both have odd scope gotcha's .. Windows has the Admin | current user split and options for affecting session shells or all future shells, and two(?) potential registry entries and|or environment strings.
by soneil on 2/17/25, 1:41 AM
by hatly22 on 2/17/25, 8:09 AM
by throwaway314155 on 2/17/25, 1:45 AM