I want to see which files got sourced while starting the Z-shell. Does it even keep track and if yes is there a way to list all the files?
Advertisement
Answer
You could do a
setopt SOURCE_TRACE
at the beginning of the very first file which gets sourced. See man zshoptions
.