I use oh-my-zsh with zpretzo, and I keep forgetting the zsh files it sources that I want to edit.
How can I ask the shell what source files it sourced?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
zsh -o SOURCE_TRACE
From the zsh manual (
If set, zsh will print an informational message announcing the name of each file it loads. The format of the output is similar to that for the XTRACE option, with the message
<sourcetrace>. A file may be loaded by the shell itself when it starts up and shuts down (Startup/Shutdown Files) or by the use of the ‘
source’ and ‘
dot’ builtin commands.