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 »

Rhinoceros commented on 2020-01-10 12:09

Fair enough. TBH I thought about creating the stable zsh-zim package, but a brief look at upstream confused me. Out of interest, will you continue to use zsh-zim? And if so, will you just install it at a user-level?

EDIT: that's not my preference because I'd never remember to update it.

ishitatsuyuki commented on 2020-01-10 06:36

Since the upstream doesn't like zimfw getting packaged for global installation, and porting seems to be harder with the latest template changes, I'm going to stop maintaining this package. Contributions are still welcome.

Rhinoceros commented on 2020-01-08 06:17

This no longer builds for me.

==> Starting package()...
cp: cannot create regular file '/tmp/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/zshrc': No such file or directory

It looks like the subdirectory templates is no longer present upstream.

Also, regarding the previous comments, there's now a stable release out:

ishitatsuyuki commented on 2019-09-29 12:00

Since zimfw does not have any releases at this point, I don't see any point in doing that.

bbaserdem commented on 2019-09-28 17:29

As a git package, I believe the proper way of doing this package is have it conflict and replace zsh-zim; so when there is a stable release there can be a git package and a release package.

ishitatsuyuki commented on 2019-02-09 12:16

I don’t think that helps in any way. I already do that in the install file, and all you need is a rebuild and install of zsh-zim-git.

carbolymer commented on 2019-02-09 12:11

After each update, zsh floods the console with following error message: The solution is to invoke:

sudo find /usr/lib/zim/modules -iname "*.zwc" -exec rm -f {} \;

and reinstal zsh-zim-git. I think this should be added to the prepare() in PKGBUILD.

ishitatsuyuki commented on 2017-10-22 01:43

A big thanks for investigating: the zimrc issue is fixed.

* ZIM_HOME is set in /etc/zsh/zshrc, and that's in the "backup" list so you may have to manually overwrite.
* I think the zwc issues should fix after a reinstall (with correct zshrc).

carbolymer commented on 2017-10-21 22:25

Oh boy, this last update really screwed up my ZSH. I had to fix following things:

* ZIM_HOME is set incorrectly to $HOME/.zim instead of /usr/lib/zim by /usr/lib/zim/init.zsh, despite using zshrc from this package
* /usr/lib/zim/templates/zimrc is not sourced somehow - no additional modules are loaded and "No such module" errors visible. Quick fix, add: source /usr/lib/zim/templates/zimrc in /usr/lib/zim/init.zsh:15
* liquidprompt theme is not available (probably because /usr/lib/zimrc wasn't sourced)
* zsh in tmux is spewing out "zcompare:zcompile:2: can't write zwc file" messages, quick fix: add &>/dev/null in /usr/lib/zim/templates/zlogin:16

I guess this should fix the errors observed by @vodi, @tembleking and @Shebang

ishitatsuyuki commented on 2017-10-21 04:45

- Do you see any errors?
- What happens if you run `zsh --login`?

I think it's something being wrong in /etc. Please check the files in the "backup" list of PKGBUILD.

Another suspect is the precompilation went wrong. Uninstalling and reinstall (not update) will recreate a clean cache.