Package Details: zoxide 0.5.0-1

Git Clone URL: https://aur.archlinux.org/zoxide.git (read-only, click to copy)
Package Base: zoxide
Description: A fast cd command that learns your habits
Upstream URL: https://github.com/ajeetdsouza/zoxide
Licenses: MIT
Submitter: desbma
Maintainer: desbma
Last Packager: desbma
Votes: 10
Popularity: 2.11
First Submitted: 2020-03-08 23:53
Last Updated: 2020-10-30 21:15

Required by (0)

Sources (1)

Latest Comments

desbma commented on 2020-03-14 14:18

I have added --locked.

However I think it's better to run tests in release mode, because it makes more sense to test what is actually installed (unlike in a developer setup). This also seems to be what other official Rust packages are doing (ie. https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/hexyl&id=39aabc3ef677d9a6a1a3e6ebbb2da03756888b47#n24).

As a nice side effect, it's much faster by avoiding to build some items two times.

Anyway it does not matter that much, because there are no tests for now...

Svenstaro commented on 2020-03-14 13:41

You should use cargo build --release --locked to ensure reproducibility and also cargo test without --release as you'll generally want to run the tests against debug.

ajeetdsouza commented on 2020-03-11 21:14

Ah, makes sense. The zsh script isn't needed any more for versions >=0.2.0, so it may make sense to remove that line entirely.

I have no experience with maintaining Arch packages, though, so do what you feel is right!

desbma commented on 2020-03-11 14:23

@ajeetdsouza I think @ifreund was only referring to the zsh script file, not the binary.

But for example command-not-found.zsh (from pkgfile), fzf, powerlevel9k have zsh files under /usr/share but not in /usr/share/zsh/plugins.

ajeetdsouza commented on 2020-03-11 13:01

zoxide is not specifically a zsh plugin - it's a binary which works with multiple shells. As such, it should be installed like any other binary.

ifreund commented on 2020-03-11 08:33

I was basing my comment off of some of the most popular zsh plugins in the official repos:

zsh-autosuggestions

zsh-syntax-highlighting

zsh-history-substring-search

Your call though, it's not my package.

desbma commented on 2020-03-10 23:50

I source 3 .zsh files in my zshrc, that are coming from packages of the official repositories, and none are under /usr/share/zsh/plugins/ so I'd say it's far from being a convention.

ifreund commented on 2020-03-10 15:00

Normally zsh plugins are installed to /usr/share/zsh/plugins/$plugin_name/. It might be preferable to follow that convention for consistency.