Prezto is not installed as a package.
Opened this issue · 4 comments
As such it is not automatically updated with the system. There is a prezto package. Might be worth investigating.
The following message shows when installing the prezto package:
It seems we can just keep our configuration files but skip the git clone --recursive https://github.com/sorin-ionescu/prezto.git /mnt/etc/skel/.zprezto
.
I am not sure if we need to keep the zsh_setup_configs.sh
scripts.
System-wide configuration files are installation-dependent but are installed in /etc by default.
User-local configuration files have the same name as their global counterparts but are prefixed with a dot (hidden). Zsh looks for these files in the path stored in the $ZDOTDIR environmental variable. However, if said variable is not defined, Zsh will use the user's home directory.
We could make our configurations the global default for all users.
Ok I tested this in vbox and it seems:
- by default the files in
/etc/zsh/
are used - modifying the default files will have global effect
- we can also just keep the user (dot-) files if we want
- we can remove the
zsh_setup_configs.sh
step /usr/lib/prezto/
is the install folder, where we can put ourprompt_plasmon_setup
file
Setting it globally is nice. Having a clean home folder after install is definitely better. If the user then decides to change settings he can still create the required files