Is it possible to start an interactive zsh session with a specific prompt without modifying a configuration file?
I tried things like that:
zsh -c 'autoload -U prompt; prompt adam1; zsh -i'
But that obviously doesn't work as the ending
zsh -i starts a fresh new interactive session.
A solution to this may be the use of an option telling zsh to load a specific configuration file (again, without modifying any existing default configuration file such as
~/.zshrc), something like:
zsh -i --configuration=~/path/to/foo.zshrc
But I don't know and can't find such an option.