diff options
author | Luis Martinez | 2021-06-09 13:02:41 -0500 |
---|---|---|
committer | Luis Martinez | 2021-06-09 13:02:41 -0500 |
commit | 480d26f0caef796a2ed9fcbee54af7ae9df33b62 (patch) | |
tree | 5832a1d233d32de87129d0a08308e062c6c85557 | |
parent | 9ecd22fe29f6a6b8e6f84b199e0c1346e040de0d (diff) | |
download | aur-480d26f0caef796a2ed9fcbee54af7ae9df33b62.tar.gz |
update to 0.7.1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | CHANGELOG.md | 259 | ||||
-rw-r--r-- | PKGBUILD | 13 |
3 files changed, 273 insertions, 15 deletions
@@ -1,21 +1,19 @@ pkgbase = zoxide-bin pkgdesc = A fast cd command that learns your habits (binary release) - pkgver = 0.7.0 + pkgver = 0.7.1 pkgrel = 1 url = https://github.com/ajeetdsouza/zoxide arch = x86_64 arch = armv7h arch = aarch64 license = MIT - depends = gcc-libs provides = zoxide conflicts = zoxide - source_x86_64 = zoxide-0.7.0-x86_64.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.0/zoxide-x86_64-unknown-linux-musl.tar.gz - sha512sums_x86_64 = fbe1d24f1996575836552243ecc27734fca31e04aeb7ba31a9e17bdc3c0cfa7754cde4f361e4ef3e9e5fa568ff9c8d4411b58a4dae4e5df9a9c30fab04e9e9c7 - source_armv7h = zoxide-0.7.0-armv7h.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.0/zoxide-armv7-unknown-linux-musleabihf.tar.gz - sha512sums_armv7h = 157ee53127e3a6d06a6ee6b8816bfaee588a48e7b87e6db1df8f6361918f5a538c6429ec6de8f472926fdb409add10b8917325e86cbf1d0bd5492b3a7fe548e3 - source_aarch64 = zoxide-0.7.0-aarch64.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.0/zoxide-aarch64-unknown-linux-musl.tar.gz - sha512sums_aarch64 = 97dfe8909e473130339138ccd1f3ac80965bd9f5f86b27b1c3c55f13ba72992da08df81978d4e52314527a2c961bd494cc0a7abbff9df8198b72c9836931c239 + source_x86_64 = zoxide-0.7.1-x86_64.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.1/zoxide-x86_64-unknown-linux-musl.tar.gz + sha512sums_x86_64 = 72809c8e65e3f6155e1bfaf068e8571d6caea6d17db54432477c1847391ee0fd1bf08d1a70b176b47e2d728bc2eda3cf25cc219251e26e631a9beae0abad8ce5 + source_armv7h = zoxide-0.7.1-armv7h.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.1/zoxide-armv7-unknown-linux-musleabihf.tar.gz + sha512sums_armv7h = 95227428a4f49068159fc960b4924b4e6aed31f53346665f23129e439afd46f974cd57ecf3ae9e918c57e02f6d8d25edf448a76992b8a07e9a3d2e7c233fca82 + source_aarch64 = zoxide-0.7.1-aarch64.tar.gz::https://github.com/ajeetdsouza/zoxide/releases/download/v0.7.1/zoxide-aarch64-unknown-linux-musl.tar.gz + sha512sums_aarch64 = a1a3ff5416d70c1b6a71a08313ff9203087a6c8b266a9f78e73ad24c77b97ffb7938027f711e769628ce35cd69d12012655420603ef69d3d201cacbf769de135 pkgname = zoxide-bin - diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000000..611d754ccaa8 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,259 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.7.1] - 2021-06-09 + +### Added + +- Auto-generated shell completions. +- `zoxide query --all` for listing deleted directories. +- Lazy deletion for removed directories that have not been accessed in > 90 days. +- Nushell: support for 0.32.0+. + +### Fixed + +- Nushell: avoid calling `__zoxide_hook` on non-filesystem subshells. +- Fish: `alias cd=z` now works, but it must be done after calling `zoxide init`. +- PowerShell: avoid calling `__zoxide_hook` on non-filesystem providers. +- Fish: avoid calling `__zoxide_hook` in private mode. + +## [0.7.0] - 2021-05-02 + +### Added + +- Manpages for all subcommands. +- Default prompt for Nushell. + +### Changed + +- `zoxide remove -i` now accepts multiple selections. +- `zoxide add` no longer accepts zero parameters. +- `$_ZO_EXCLUDE_DIRS` now defaults to `"$HOME"`. +- Binary releases now use `.zip` on Windows, `.tar.gz` otherwise. + +### Fixed + +- `cd -` on fish shells. +- `__zoxide_hook` no longer changes value of `$?` within `$PROMPT_COMMAND` on bash. + +### Removed + +- GitHub install script. +- Release binaries built with `glibc`, use `musl` instead. + +## [0.6.0] - 2021-04-09 + +### Added + +- Support for [Nushell](https://www.nushell.sh/). +- Support for [Elvish](https://elv.sh/). + +### Changed + +- `z` now excludes the current directory from search results. + +### Fixed + +- Removed backtraces on Rust nightly. +- Generated shell code avoids using aliased builtins. +- Handle broken pipe errors gracefully when writing to streams. +- NUL file appearing in working directory on Windows. +- Accidental redefinition of hooks when initialized twice on some shells. +- zoxide unable to find itself on Xonsh shells. + +### Removed + +- Aliases: `za`, `zq`, `zqi`, `zr`, `zri`. These are trivial aliases to zoxide that can easily be defined manually, and aren't very useful to most users. + +## [0.5.0] - 2020-10-30 + +### Added + +- Inaccessible directories are no longer removed; zoxide can now remember paths on removable devices. +- `$_ZO_EXCLUDE_DIRS` now supports globs. +- `zoxide init` now defines `__zoxide_z*` functions that can be aliased as needed. +- Support for the [xonsh](https://xon.sh/) shell. +- `zoxide import` can now import from Autojump. + +### Changed + +- `zoxide init --no-aliases` no longer generates `z` or `zi`. + +### Fixed + +- Clobber conflicting alias definitions in bash/fish/zsh/POSIX shells. + +### Removed + +- Deprecated PWD hooks for POSIX shells. + +## [0.4.3] - 2020-07-04 + +### Fixed + +- Bug in Fish init script + +## [0.4.2] - 2020-07-03 + +### Added + +- `$_ZO_FZF_OPTS` to specify custom options for `fzf` +- `zoxide query --list` to list all matches +- `zoxide query --score` to show score along with result + +### Changed + +- Increased default value of `$_ZO_MAXAGE` to `10000`. +- Symlinks are treated as separate directories by default, this can be changed by setting `_ZO_RESOLVE_SYMLINKS=1`. + +### Removed + +- Help menus for `z` and `zri`. +- `zoxide remove -i` is replaced with `zri`. + +## [0.4.1] - 2020-05-25 + +### Added + +- Support for powershell. + +### Removed + +- Backward compatibility with `v0.2.x` databases. +- Support for paths with invalid UTF-8. + +## [0.4.0] - 2020-05-03 + +### Added + +- Interactive mode for removing entries (`zoxide remove -i`). +- Aliases for interactive `query` and `remove` (`zqi` and `zri` respectively). +- PWD hooks for POSIX shells. + +### Changed + +- `zoxide remove` now throws an error if there was no match in the database. +- Interactive mode in `zoxide` no longer throws an error if `fzf` exits gracefully. +- Canonicalize to regular paths instead of UNC paths on Windows. +- `zoxide init` now uses PWD hooks by default for better performance. +- `$_ZO_ECHO` now only works when set to `1`. +- Using the `--z-cmd` flag now also renames the associated aliases. +- The `--z-cmd` flag has been renamed to `--cmd`. +- The `--no-define-aliases` flag has been renamed to `--no-aliases`. + +### Fixed + +- fish no longer `cd`s to the user's home when no match is found. + +## [0.3.1] - 2020-04-03 + +### Added + +- Version output displays `git` revision information. +- `--z-cmd` flag for `zoxide init` to rename the `z` command to something else. + +### Changed + +- Query output no longer has the `query:` prefix, so `$(zq)` can now be used as an argument to commands. + +### Fixed + +- Queries now also include checks for if the top level directory matches. + +## [0.3.0] - 2020-03-30 + +### Added + +- Automatic migration from `v0.2.x` databases. +- `$_ZO_EXCLUDE_DIRS` to prevent certain directories from being added to the database. +- Support for POSIX-compliant shells. + +### Changed + +- Database location defaults to user's local data directory. +- Database schema now includes a version number. +- `migrate` subcommand renamed to `import`. + +### Fixed + +- Achieve thread safety using unique temporary database file names for each `zoxide` instance. +- Incomprehensive "could not allocate" message on database corruption. + +## [0.2.2] - 2020-03-20 + +### Fixed + +- Incorrect exit codes in `z` command on fish. + +### Removed + +- File locks on database. + +## [0.2.1] - 2020-03-16 + +### Added + +- `$_ZO_ECHO` to echo match before `cd`ing. +- Minimal `ranger` plugin. +- PWD hook to only update the database when the current directory is changed. +- Support for bash. +- `migrate` subcommand to allow users to migrate from `z`. + +### Fixed + +- Interactive queries causing other open shells to hang. + +## [0.2.0] - 2020-03-11 + +### Added + +- `init` subcommand to remove dependency on shell plugin managers. +- Support for `z -` command to go to previous directory. +- `Cargo.lock` for more reproducible builds. +- Support for the fish shell. + +### Fixed + +- `_zoxide_precmd` overriding other precmd hooks on zsh. + +## [0.1.1] - 2020-03-08 + +### Added + +- Install script for Linux/macOS users. +- Aging algorithm to remove stale entries. + +### Changed + +- Database schema now uses `f64` values for rank instead of `i32`. + +### Fixed + +- Multiple hooks being added upon initializing `zoxide` multiple times. + +## [0.1.0] - 2020-03-05 + +### Added + +- GitHub Actions pipeline to build and upload releases. +- Support for zsh. + +[0.7.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.7.0...v0.7.1 +[0.7.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.6.0...v0.7.0 +[0.6.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.5.0...v0.6.0 +[0.5.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.3...v0.5.0 +[0.4.3]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.2...v0.4.3 +[0.4.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.1...v0.4.2 +[0.4.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.4.0...v0.4.1 +[0.4.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.1...v0.4.0 +[0.3.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.3.0...v0.3.1 +[0.3.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.2...v0.3.0 +[0.2.2]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.1...v0.2.2 +[0.2.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.2.0...v0.2.1 +[0.2.0]: https://github.com/ajeetdsouza/zoxide/compare/v0.1.1...v0.2.0 +[0.1.1]: https://github.com/ajeetdsouza/zoxide/compare/v0.1.0...v0.1.1 +[0.1.0]: https://github.com/ajeetdsouza/zoxide/commits/v0.1.0 @@ -3,26 +3,27 @@ pkgname=zoxide-bin _pkgname=zoxide -pkgver=0.7.0 +pkgver=0.7.1 pkgrel=1 pkgdesc='A fast cd command that learns your habits (binary release)' arch=('x86_64' 'armv7h' 'aarch64') url="https://github.com/ajeetdsouza/zoxide" license=('MIT') -depends=('gcc-libs') provides=("$_pkgname") conflicts=("$_pkgname") +changelog=CHANGELOG.md source_x86_64=("$_pkgname-$pkgver-x86_64.tar.gz::$url/releases/download/v$pkgver/$_pkgname-x86_64-unknown-linux-musl.tar.gz") source_armv7h=("$_pkgname-$pkgver-armv7h.tar.gz::$url/releases/download/v$pkgver/$_pkgname-armv7-unknown-linux-musleabihf.tar.gz") source_aarch64=("$_pkgname-$pkgver-aarch64.tar.gz::$url/releases/download/v$pkgver/$_pkgname-aarch64-unknown-linux-musl.tar.gz") -sha512sums_x86_64=('fbe1d24f1996575836552243ecc27734fca31e04aeb7ba31a9e17bdc3c0cfa7754cde4f361e4ef3e9e5fa568ff9c8d4411b58a4dae4e5df9a9c30fab04e9e9c7') -sha512sums_armv7h=('157ee53127e3a6d06a6ee6b8816bfaee588a48e7b87e6db1df8f6361918f5a538c6429ec6de8f472926fdb409add10b8917325e86cbf1d0bd5492b3a7fe548e3') -sha512sums_aarch64=('97dfe8909e473130339138ccd1f3ac80965bd9f5f86b27b1c3c55f13ba72992da08df81978d4e52314527a2c961bd494cc0a7abbff9df8198b72c9836931c239') +sha512sums_x86_64=('72809c8e65e3f6155e1bfaf068e8571d6caea6d17db54432477c1847391ee0fd1bf08d1a70b176b47e2d728bc2eda3cf25cc219251e26e631a9beae0abad8ce5') +sha512sums_armv7h=('95227428a4f49068159fc960b4924b4e6aed31f53346665f23129e439afd46f974cd57ecf3ae9e918c57e02f6d8d25edf448a76992b8a07e9a3d2e7c233fca82') +sha512sums_aarch64=('a1a3ff5416d70c1b6a71a08313ff9203087a6c8b266a9f78e73ad24c77b97ffb7938027f711e769628ce35cd69d12012655420603ef69d3d201cacbf769de135') prepare() { if [[ "$CARCH" == 'armv7h' ]] then - test -d "$_pkgname-$CARCH-unknown-linux-musl" || mv "$_pkgname-armv7-unknown-linux-musleabihf" "$_pkgname-$CARCH-unknown-linux-musl" + local _filename="$_pkgname-x86_64-unknown-linux-musl" + test -d "$_filename" || mv "$_filename" "$_pkgname-$CARCH-unknown-linux-musl" fi } |