I've cloned zshmarks
to /usr/lib/zim/modules
then added zmodule zshmarks
to /etc/zsh/zimrc
, then sudo zsh
then zimfw install && zsh
and it works.
The command which causes
mv: cannot move '/usr/lib/zim/init.zsh' to '/usr/lib/zim/init.zsh.old': Permission denied
is zrecompile
which is necessary I think. The only workaround is to silence this error.
I've added a patch for part of force update you suggested though, thanks for the hint!
Pinned Comments
carbolymer commented on 2021-01-11 21:41 (UTC) (edited on 2021-01-22 07:46 (UTC) by carbolymer)
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