Package Details: zsh-zim-git r682.84c59ed-1

Git Clone URL: https://aur.archlinux.org/zsh-zim-git.git (read-only, click to copy)
Package Base: zsh-zim-git
Description: ZIM - Zsh IMproved
Upstream URL: https://github.com/zimfw/zimfw
Keywords: improved plugin theme vim zim zsh
Licenses: MIT
Submitter: ishitatsuyuki
Maintainer: carbolymer (Rhinoceros)
Last Packager: carbolymer
Votes: 18
Popularity: 0.000000
First Submitted: 2015-12-28 02:13 (UTC)
Last Updated: 2024-10-10 07:25 (UTC)

Dependencies (4)

Required by (1)

Sources (5)

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=5a378e94d516c57d39629de545b78b0f020d86a4

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 .. 5 6 7 8 9 10

Rhinoceros commented on 2016-04-22 10:27 (UTC)

@Brottweiler Thanks for that. I can see from your comments on the Github issue that you are using a manual user-level install… I guess that's the only answer (and also fixes my other question). It's a pity we won't have automatic updates, though. @ishitatsuyuki However, /etc/zsh/zshrc will still run before ~/.zshrc, so although the ~/.zshrc will run later (and have "higher priority"), the shell still will run both versions… and somehow unload the modules defined in /etc/zsh/zshrc. I guess I could modify /etc/zsh/zshrc (which is in the backup array) to point to an alternative instead of /usr/lib/zim/templates/zimrc, but then this would miss any updates. Having said that, @Brottweiler's comments make me think that the idea of a system-wide install is not workable anyway.

ishitatsuyuki commented on 2016-04-22 09:08 (UTC)

@Rhinoceros: The expected way is to copy that to .zimrc (others work too), and modify it. Then it has higher priority than installed one.

Brottweiler commented on 2016-04-22 07:49 (UTC)

@Rhinoceros, Please read this https://github.com/Eriner/zim/issues/44

Rhinoceros commented on 2016-04-22 06:36 (UTC)

When I install, I get /usr/lib/zim/templates/zlogin:22: no matches found: /root/.zcomp^(*.zwc)(.) Also, this package makes zsh source `/usr/lib/zim/templates/zimrc` by default, which is where the modules are enabled. I wonder if you could include this file in the backups array. Then users could modify this, and it won't be over-written on updates.