@Rhinoceros, thanks for debugging and reporting it here! You're right, it is imported twice. I've removed unnecessary line from zshrc:
source ${ZIM_HOME}/init.zsh &>/dev/null
In my opinion this /usr/lib/zim/templates/zshrc
works fine, I took it from zimfw repo (which recommends it for enabling zim).
Pinned Comments
carbolymer commented on 2021-01-11 21:41
Ugh, it was a PITA to create this package. Please note that errors are silenced, so if you have any issues with zim, remove
&>/dev/null
from your/etc/zshrc
- https://aur.archlinux.org/cgit/aur.git/tree/zshrc?h=zsh-zim-git&id=5a378e94d516c57d39629de545b78b0f020d86a4I had to do it this way:
$ZIM_HOME
is only writable by root and zim constantly tries to update & recompile itself (=write to$ZIM_HOME
), which results in permission errors when starting zsh as a normal user.If you want to add/remove a module:
zmodule
in/etc/zsh/zimrc
zimfw install && zsh