Package Details: zsh-zim-git r588.de7d2b1-1

Git Clone URL: (read-only, click to copy)
Package Base: zsh-zim-git
Description: ZIM - Zsh IMproved
Upstream URL:
Keywords: improved plugin theme vim zim zsh
Licenses: MIT
Submitter: ishitatsuyuki
Maintainer: carbolymer (Rhinoceros)
Last Packager: carbolymer
Votes: 19
Popularity: 0.000000
First Submitted: 2015-12-28 02:13
Last Updated: 2021-09-30 06:55

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 -

I 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:

  1. Add a respective zmodule in /etc/zsh/zimrc
  2. Run as root: zimfw install && zsh

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

vodi commented on 2017-10-20 17:42


Detailed Problem description:

* Had zsh-zim-git installed and running before 2017-10-18
* updated zsh-zim-git via `pacaur -Syu'
* zim not loading when opening a new shell (e.g. prompt ist only `hostname%', C-r history search not working)

* i don't have zim-related config in my home folder - so not "something in their config"
* `source /etc/zsh/zshrc' does not change anything

If you need any additional infos (e.g. logs? configs?) let me know, I'm pleased to provide it.
If you have any suggestions how to get zim running, I'm open to try it.

Thank you for your effort maintaining this package for us

Shebang commented on 2017-10-20 01:06

ishitatsuyuki and vodi,

It is now working for me. I'm thinking vodi and tembleking may have something in their configs that is causing the issue.

Thanks for updating so quickly ishitatsuyuki

ishitatsuyuki commented on 2017-10-19 04:20

Works for me. Explain your problem in detail.

vodi commented on 2017-10-18 16:40


I have the same problem as tembleking.
I updated the zsh-zim-git package with pacaur and after that zim doesn't get loaded.
I already tried uninstalling (/etc/zsh/zshrc was deleted) and reinstalling it, but it didn't work.

If you need additional infos, let me know.

ishitatsuyuki commented on 2017-10-18 14:55

I have tested the new version extensively. How did it broke your installation? Please try resetting /etc/zsh/zshrc (e.g. by deleting it and reinstall).

tembleking commented on 2017-10-18 14:48

Last AUR commit broke the zim instalation completely:

I tried to install the package with the previous AUR commit:

And now it's working fine.

ishitatsuyuki commented on 2017-10-18 04:01

Updated. Enjoy.

Shebang commented on 2017-10-18 00:27

I decided to remove the package and then reinstall it to get the latest code from git (if there's a better way to do this, please do tell).

I'm now getting this whenver I open a terminal / start zsh:

No such module "directory".
No such module "environment".
No such module "git".
No such module "git-info".
No such module "history".
No such module "input".
No such module "utility".
No such module "meta".
No such module "custom".
No such module "syntax-highlighting".
No such module "history-substring-search".
No such module "prompt".
No such module "completion".
/usr/lib/zim/templates/zlogin:41: no matches found: /home/steven/.zim/modules/custom/**/^(|*.zwc)(.)

gdiscry commented on 2017-09-28 08:15

I have zim installed only as a package (nothing in $HOME) and have just updated the package (I was on r326.537f076).

There are a few issues with the /etc/zsh/* files generated by the package. My fixes below are specific to my use case. They are probably not enough when the user also has a local install.

The first one is "/usr/lib/zim/templates/zlogin:41: no matches found: /home/georges/.zim/modules/custom/**/^(|*.zwc)(.)" appearing when opening a new shell. This is caused by ZIM_HOME defaulting to ${HOME}/.zim (which doesn't exist in my case). I added "ZIM_HOME=/usr/lib/zim" at the beginning of /etc/zsh/zshrc before sourcing zim.

However, it's not enough to solve the issue because "source /usr/lib/zim/templates/zshrc" resets ZIM_HOME. I simply deleted that line because the template does only two things: set ZIM_HOME and source ${HOME}/.zim/init.zsh (which doesn't exists) and zshrc already does "source /usr/lib/zim/init.zsh".

Finally, /usr/lib/zim/templates/zlogin tries to compile a lot of files, which doesn't work with a simple user. My temporary fix is to open a login shell as root.

I think that the templates do not fit the case of a system-wide install. We either need better templates or stop sourcing them.

/etc/zsh/zshrc should set ZIM_HOME=/usr/lib/zim and stop sourcing the template (it already sources init.zsh)

/etc/zsh/zlogin should also stop sourcing the template. Instead, build() in the PKGBUILD should directly call zcompile so that the compiled files are part of the package.

ariasuni commented on 2017-06-08 10:40

You should change `rsync -ar --exclude=.git $srcdir/$_gitname/ $pkgdir/usr/lib/zim` to `rsync -ar --exclude=.git* $srcdir/$_gitname/ $pkgdir/usr/lib/zim` in order to ignore `.github`, `.gitignore` and `.gitmodules` files.