Open abathur opened 2 years ago
https://blog.opstree.com/2020/02/11/shell-initialization-files/ and https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html seem like good starting points for basic concepts, background on what scenarios run the shells in different mode combinations, and on how we might graph the the init process.
things to (try) gathering:
set -x
, but even if so this is probably not that simple unless the output format happened to be part of POSIX :)getconf PATH
(not sure if any other getconfs are relevant?)There's probably a separate analysis phase:
path_helper
.