I made a bad choice when configuring Zsh the first time around, so now I would like to run the configuration wizard (the thing that runs the first time you log in) again. How do I do this?
Asked
Active
Viewed 5.0k times
2 Answers
55
The wizard is provided by the function zsh-newuser-install
.
To run it again, make a backup of your .zshrc
(because there's a small risk that zsh-newuser-install
will mess up your manual configuration), then run
autoload -U zsh-newuser-install
zsh-newuser-install -f

Gilles 'SO- stop being evil'
- 829,060
14
autoload -Uz zsh-newuser-install; zsh-newuser-install -f
The wizard is just a function that you can call at any time.

llua
- 6,900
set -x
first and look at the trace (which may be very long) to see if there are any clues. If you can't figure it out, post a new question with the full trace. – Gilles 'SO- stop being evil' Jun 22 '22 at 06:59