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).
Search Criteria
Package Details: zsh-zim-git r682.84c59ed-1
Package Actions
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: | 19 |
Popularity: | 0.25 |
First Submitted: | 2015-12-28 02:13 (UTC) |
Last Updated: | 2024-10-10 07:25 (UTC) |
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
ishitatsuyuki commented on 2017-10-18 14:55 (UTC)
tembleking commented on 2017-10-18 14:48 (UTC)
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 (UTC)
Updated. Enjoy.
Shebang commented on 2017-10-18 00:27 (UTC)
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 (UTC)
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 (UTC)
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 (UTC)
`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 (UTC)
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 (UTC)
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 (UTC)
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.
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=5a378e94d516c57d39629de545b78b0f020d86a4I 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:
zmodule
in/etc/zsh/zimrc
zimfw install && zsh