Package Details: zsh-zim-git r458.1ab110c-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
Licenses: MIT
Submitter: ishitatsuyuki
Maintainer: None
Last Packager: ishitatsuyuki
Votes: 19
Popularity: 0.002737
First Submitted: 2015-12-28 02:13
Last Updated: 2018-12-31 10:46

Dependencies (4)

Required by (2)

Sources (3)

Pinned Comments

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.

Latest Comments

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

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:
https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=zsh-zim-git&id=f06ce5a11f1ac071c306bf54f1f51e225f530428

I tried to install the package with the previous AUR commit:
https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=zsh-zim-git&id=c082f63fde8d4ff5e274e565ffbd6aae3210e41d

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/**/^(README.md|*.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/**/^(README.md|*.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.

TangledShoelace commented on 2017-01-23 14:48

`rsync` might have to be added as a dependency.

Got an error:
`.../zsh-zim-git/PKGBUILD: line 50: rsync: command not found`

Rhinoceros commented on 2017-01-23 11:04

Yep, I'm at 27cdd5cefa6f26d4bc57a8aa2d19d13db1db44bf. I've even been totally cleaning the repository with `git clean -dff` before `makepkg`.

Hmmm… so it seems that `zsh -l` and `zsh --login` also create the same errors for me as tmux and tty. However, again, I get no problem with a "normal" shell, where I just have `/bin/zsh` defined in `/etc/passwd`.

ishitatsuyuki commented on 2017-01-23 10:58

Please make sure you're at 27cdd5c (AUR git), and used the -f option to rebuild the package (I didn't change the package revision, sorry).

zsh -l (or --login) loads zlogin, which tries to precompile the files. tmux and tty also runs a login shell.

Rhinoceros commented on 2017-01-23 10:55

Did you mean with the one you pushed before my last comment, or have you forgotten to push a new one? I definitely pulled the last changes.

I'm not sure what `zsh --login` does exactly. I can't find `--login` in `man zshall`. However, tmux *isn't* exactly the same. In a new terminal emulator, zsh loads fine with no warning. However, if I manually start `tmux`, then I get the errors as described. Actually, I get these same errors if I log into a tty shell, so you might be able to reproduce with that too.