Package Details: zsh-zim-git r643.ee93f79-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: 18
Popularity: 0.000000
First Submitted: 2015-12-28 02:13 (UTC)
Last Updated: 2023-03-30 13:36 (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 -

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

1 2 3 4 5 6 .. 10 Next › Last »

Rhinoceros commented on 2023-03-30 21:52 (UTC)

Thanks @carbolymer, much appreciated! Yes, not too sure what's happening there; no big deal though, I'll chase it up elsewhere. Package seems to build perfectly now!

carbolymer commented on 2023-03-30 13:38 (UTC)

@Rhinoceros I've fixed the patch, package should build now. I'm sorry, I cannot reproduce your errors, so I can't help you much here.

Rhinoceros commented on 2023-03-27 06:29 (UTC)

I never got around to fixing syntax highlighting, but I actually can't build this any more.

==> Starting package()...
Latest zimfw version is 1.11.3. You're using version 1.12.0-SNAPSHOT. Run zimfw upgrade to upgrade.
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:12:environment: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/environment not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:14:git: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/git not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:16:input: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/input not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:18:termtitle: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/termtitle not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:20:utility: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/utility not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:27:duration-info: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/duration-info not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:29:git-info: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/git-info not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:31:asciiship: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/asciiship not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:38:zsh-completions: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/zsh-completions not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:41:completion: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/completion not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:49:zsh-syntax-highlighting: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/zsh-syntax-highlighting not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:52:zsh-history-substring-search: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/zsh-history-substring-search not found
x /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc:54:zsh-autosuggestions: /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/modules/zsh-autosuggestions not found
Failed to source /build/zsh-zim-git/pkg/zsh-zim-git/usr/lib/zim/templates/.zimrc
==> ERROR: A failure occurred in package().

Rhinoceros commented on 2022-10-25 01:49 (UTC) (edited on 2022-10-25 01:56 (UTC) by Rhinoceros)

Actually sorry @carbolymer I think I spoke too soon. I tried, but that didn't work for me.

$ ./
==> Finished making: zsh-zim-git r628.e54958b-1 (Tue 25 Oct 2022 12:23:29 PM)
STEP 8/10: RUN chown -R work:work /home/work/
chown: changing ownership of '/home/work/.bash_logout': Invalid argument
chown: changing ownership of '/home/work/zsh-zim-git-r628.e54958b-1-any.pkg.tar': Invalid argument
chown: changing ownership of '/home/work/zsh-zim-git-r628.e54958b-1-any.pkg.tar.zst': Invalid argument
chown: changing ownership of '/home/work/.zshrc': Invalid argument
chown: changing ownership of '/home/work/': Invalid argument
Error: building at STEP "RUN chown -R work:work /home/work/": while running runtime: exit status 1

I can describe the problem as follows though. In /etc/zsh/zimrc I have the following:

zmodule zsh-users/zsh-syntax-highlighting  
zmodule zsh-users/zsh-autosuggestions

But syntax highlighting doesn't work properly for me in the following case

$ echo foobar<Enter> # to get this into history
$ ec 

Here echo foobar is auto-suggested. ho foobar has grey syntax highlighting as expected. If I use the keys for up-line-or-history or history-beginning-search-backward, then echo turns green and foobar turns black as expected. However, if I instead press the right arrow, forward-word, or End, then echo turns green as expected, but foobar remains grey. (The latter keystrokes are all defined as ZSH_AUTOSUGGEST_ACCEPT_WIDGETS or ZSH_AUTOSUGGEST_PARTIAL_ACCEPT_WIDGETS in ~/.zshrc.)

OTOH I have a user-level zim install on a server with the same settings that seems to work perfectly.

EDIT: I also went through /usr/lib/zim/modules comparing them to the server, and they seem to be the same versions.

Rhinoceros commented on 2022-10-24 21:58 (UTC)

@carbolymer Thanks for updating the package and thanks for the hint. I think it was maybe a issue with zsh-autosuggestions as well, but it seems to have spontaneously fixed itself.

carbolymer commented on 2022-10-18 17:28 (UTC)

@Rhinoceros it works for me just fine, so it must be something specific to your setup. Can you try in isolated environment? in this package starts fresh arch container with podman and installs zim, so you can test it there.

Rhinoceros commented on 2022-10-14 01:08 (UTC)

@carbolymer and others

Does anyone use the module zsh-syntax-highlighting? It's actually been broken for me for months now, possibly after the zsh update to 5.9 in May this year. I ignored it at the time, thinking it might be an upstream fix, but never got back to it.

Is it something we can/should fix in this package?

Rhinoceros commented on 2022-01-18 13:12 (UTC)

Thanks @carbolymer. That seems to work perfectly now. Thank you so much for the quick fix (again!). Very much appreciated!

(I just pushed a fix for the zim.install checksum.)

carbolymer commented on 2022-01-18 11:28 (UTC)

Package should be fixed now.

Rhinoceros commented on 2022-01-16 22:55 (UTC)

No worries @carbolymer. Thanks for keeping at it!