10 Commits

Author SHA256 Message Date
73e353e3e6 Accepting request 1284384 from utilities
OBS-URL: https://build.opensuse.org/request/show/1284384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zoxide?expand=0&rev=13
2025-06-11 14:22:00 +00:00
b263e39357 fix build without %check (boo#1227364)
OBS-URL: https://build.opensuse.org/package/show/utilities/zoxide?expand=0&rev=31
2025-06-10 08:33:09 +00:00
4fa6ca7392 Accepting request 1280952 from utilities
- Update to 0.9.8:
  Added
  * Support for Tcsh.
  * Added --score flag to zoxide add.
  * POSIX: add doctor to diagnose common issues.
  * Nushell: add CLI completions.
  Changed
  * Bash: zoxide will now automatically cd when selecting Space-Tab completions.
  Fixed
  * Bash: doctor now handles PROMPT_COMMAND being an array.
  * Bash: doctor now handles Visual Studio Code's shell integration.
  * Bash: completions now work with ble.sh.
  * Nushell: stop ignoring symlinks when cd-ing into a directory.
  * Fzf: updated minimum supported version to v0.51.0.
  * PowerShell: avoid setting $error when defining __zoxide_hooked.
  * PowerShell: handle special characters in file paths when cd-ing into them.
  * Database corruption issue when the filesystem is 100% full.
- added %check section to run unit tests
- compress manpages (forwarded request 1280897 from amanzini)

OBS-URL: https://build.opensuse.org/request/show/1280952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zoxide?expand=0&rev=12
2025-05-30 12:34:54 +00:00
59e7fdc2df - Update to 0.9.8:
Added
  * Support for Tcsh.
  * Added --score flag to zoxide add.
  * POSIX: add doctor to diagnose common issues.
  * Nushell: add CLI completions.
  Changed
  * Bash: zoxide will now automatically cd when selecting Space-Tab completions.
  Fixed
  * Bash: doctor now handles PROMPT_COMMAND being an array.
  * Bash: doctor now handles Visual Studio Code's shell integration.
  * Bash: completions now work with ble.sh.
  * Nushell: stop ignoring symlinks when cd-ing into a directory.
  * Fzf: updated minimum supported version to v0.51.0.
  * PowerShell: avoid setting $error when defining __zoxide_hooked.
  * PowerShell: handle special characters in file paths when cd-ing into them.
  * Database corruption issue when the filesystem is 100% full.
- added %check section to run unit tests
- compress manpages

OBS-URL: https://build.opensuse.org/package/show/utilities/zoxide?expand=0&rev=29
2025-05-28 15:13:05 +00:00
ab323ea2fe Accepting request 1244669 from utilities
OBS-URL: https://build.opensuse.org/request/show/1244669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zoxide?expand=0&rev=11
2025-02-10 16:29:11 +00:00
Andreas Schneider
73cd5a717c Accepting request 1244666 from home:jubalh:branches:utilities
- Update to 0.9.7:
  Added:
  * Nushell: support for 0.102.0.
  * Bash / Zsh: add doctor to diagnose common issues.
  Fixed:
  * ksh: alias to regular POSIX implementation for better compatibility.

OBS-URL: https://build.opensuse.org/request/show/1244666
OBS-URL: https://build.opensuse.org/package/show/utilities/zoxide?expand=0&rev=27
2025-02-10 07:51:29 +00:00
26aa97f3db Accepting request 1202327 from utilities
OBS-URL: https://build.opensuse.org/request/show/1202327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zoxide?expand=0&rev=10
2024-09-23 13:19:27 +00:00
Andreas Schneider
1bb7c44d03 Accepting request 1202011 from home:jubalh:branches:utilities
- Update to 0.9.6:
  * Fish: builtin abbr doesn't work on older versions.
  * Zsh: make __zoxide_z_complete available with --no-cmd.

OBS-URL: https://build.opensuse.org/request/show/1202011
OBS-URL: https://build.opensuse.org/package/show/utilities/zoxide?expand=0&rev=25
2024-09-21 12:08:12 +00:00
dcd82adb24 Accepting request 1201228 from utilities
OBS-URL: https://build.opensuse.org/request/show/1201228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zoxide?expand=0&rev=9
2024-09-16 15:42:21 +00:00
Andreas Schneider
49fc9d474b Accepting request 1200730 from home:pallaswept:branches:utilities
- Update to 0.9.5:
  Added:
  * zsh: improved cd completions.
  * Lazily delete excluded directories from the database.
  * fish: detect infinite loop when using alias cd=z.
  * Installer: added flags for --bin-dir, --man-dir, --arch, and --sudo.
  * Nushell: support for v0.94.0+.
  * bash/fish/zsh: support for z -- dir style queries.
  * fish: improved Space-Tab completions.
  * ksh: added support for the Korn shell.
  Changed:
  * fzf: removed --select-1 from default options. The interactive selector will
    now open up even if there is only one match.
  * Enforce that $_ZO_DATA_DIR is an absolute path.
  Fixed:
  * zsh: Space-Tab completion repeating output multiple times when matching single
    directory
  * fish / Nushell / PowerShell: handle queries that look like args (e.g. z -x).
  * elvish: z - now works as expected.
  * fish: generated shell code avoids using aliased builtins.
  * fish: cd command is now copied directly from
    $__fish_data_dir/functions/cd.fish. This should minimize the chances of an
    infinite loop when aliasing cd=z.
  * Symlinks not getting added to the database when $_ZO_RESOLVE_SYMLINKS=0.
  * Symlinked database files getting replaced instead of the actual files.
- Use new cargo service features for package

OBS-URL: https://build.opensuse.org/request/show/1200730
OBS-URL: https://build.opensuse.org/package/show/utilities/zoxide?expand=0&rev=23
2024-09-15 07:53:44 +00:00
7 changed files with 94 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/ajeetdsouza/zoxide</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v0.9.4</param>
<param name="revision">v0.9.8</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
@@ -18,7 +18,4 @@
<param name="srcdir">zoxide</param>
<param name="compression">xz</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">zoxide</param>
</service>
</services>

View File

@@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9422cc00c34ffb13b4caff64ae9ec91193ca3bcc4912b1ca32ebb2db878958d7
size 12724572
oid sha256:7190529941663d73e4a140712acf4120e8fe12606307b3a83927a923a8011b3a
size 10235500

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e6b7c8e9cac03fa3b03130613b7a304137e0df42bcd9e1a471f5ac338438aaf
size 974549

3
zoxide-0.9.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33d6a888e2c242398bb7f65f21d20e88d2a656580791ef6d64e2e2dbe7f6cd21
size 2007493

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Thu Jun 5 13:12:09 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- fix build without %check (boo#1227364)
-------------------------------------------------------------------
Wed May 28 13:27:53 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to 0.9.8:
Added
* Support for Tcsh.
* Added --score flag to zoxide add.
* POSIX: add doctor to diagnose common issues.
* Nushell: add CLI completions.
Changed
* Bash: zoxide will now automatically cd when selecting Space-Tab completions.
Fixed
* Bash: doctor now handles PROMPT_COMMAND being an array.
* Bash: doctor now handles Visual Studio Code's shell integration.
* Bash: completions now work with ble.sh.
* Nushell: stop ignoring symlinks when cd-ing into a directory.
* Fzf: updated minimum supported version to v0.51.0.
* PowerShell: avoid setting $error when defining __zoxide_hooked.
* PowerShell: handle special characters in file paths when cd-ing into them.
* Database corruption issue when the filesystem is 100% full.
- added %check section to run unit tests
- compress manpages
-------------------------------------------------------------------
Mon Feb 10 07:45:43 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.7:
Added:
* Nushell: support for 0.102.0.
* Bash / Zsh: add doctor to diagnose common issues.
Fixed:
* ksh: alias to regular POSIX implementation for better compatibility.
-------------------------------------------------------------------
Thu Sep 19 13:15:08 UTC 2024 - Michael Vetter <mvetter@suse.com>
- Update to 0.9.6:
* Fish: builtin abbr doesn't work on older versions.
* Zsh: make __zoxide_z_complete available with --no-cmd.
-------------------------------------------------------------------
Fri Sep 13 02:44:11 UTC 2024 - pallas wept <pallaswept@proton.me>
- Update to 0.9.5:
Added:
* zsh: improved cd completions.
* Lazily delete excluded directories from the database.
* fish: detect infinite loop when using alias cd=z.
* Installer: added flags for --bin-dir, --man-dir, --arch, and --sudo.
* Nushell: support for v0.94.0+.
* bash/fish/zsh: support for z -- dir style queries.
* fish: improved Space-Tab completions.
* ksh: added support for the Korn shell.
Changed:
* fzf: removed --select-1 from default options. The interactive selector will
now open up even if there is only one match.
* Enforce that $_ZO_DATA_DIR is an absolute path.
Fixed:
* zsh: Space-Tab completion repeating output multiple times when matching single
directory
* fish / Nushell / PowerShell: handle queries that look like args (e.g. z -x).
* elvish: z - now works as expected.
* fish: generated shell code avoids using aliased builtins.
* fish: cd command is now copied directly from
$__fish_data_dir/functions/cd.fish. This should minimize the chances of an
infinite loop when aliasing cd=z.
* Symlinks not getting added to the database when $_ZO_RESOLVE_SYMLINKS=0.
* Symlinked database files getting replaced instead of the actual files.
- Use new cargo service features for package
-------------------------------------------------------------------
Wed Feb 21 06:24:35 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package zoxide
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: zoxide
Version: 0.9.4
Version: 0.9.8
Release: 0
Summary: A smarter cd command
License: MIT
@@ -27,9 +26,10 @@ Group: System/Console
URL: https://github.com/ajeetdsouza/zoxide
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo
BuildRequires: rust >= 1.31
BuildRequires: cargo-packaging
BuildRequires: gzip
BuildRequires: rust >= 1.85.0
%description
zoxide is a smarter cd command, inspired by z and autojump. It remembers
@@ -39,9 +39,6 @@ just a few keystrokes.
%prep
%autosetup -p1 -a1
install -d -m 0755 .cargo
cp %{SOURCE2} .cargo/config
%build
export RUSTFLAGS=%{rustflags}
cargo build --release %{?_smp_mflags}
@@ -49,10 +46,12 @@ cargo build --release %{?_smp_mflags}
%install
export RUSTFLAGS=%{rustflags}
RUSTFLAGS=%{rustflags} cargo install --path . --root=%{buildroot}%{_prefix} %{?_smp_mflags}
# compress manpages
gzip man/man1/%{name}*.1
# install manpages
ls -la
install -Dpm 644 man/man1/%{name}*.1 -t %{buildroot}%{_mandir}/man1/
install -Dpm 644 man/man1/%{name}*.1%{?ext_man} -t %{buildroot}%{_mandir}/man1/
# install shell completions
install -Dpm 644 contrib/completions/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
@@ -62,11 +61,14 @@ install -Dpm 644 contrib/completions/%{name}.fish -t %{buildroot}/%{_datadir}/fi
# remove residue crate file
rm -f %{buildroot}%{_prefix}/.crates*
%check
%{cargo_test}
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*.1*
%{_mandir}/man1/%{name}*.1%{?ext_man}
%{_datadir}/bash-completion/completions/%{name}
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions