Commit Graph

612 Commits

Author SHA1 Message Date
mataha 5b2eca1cf8 Fix newlines 2026-02-17 21:36:31 +01:00
mataha 699126567f Code cleanup 2026-02-17 20:51:01 +01:00
mataha 3cc6de20ac Update documentation 2026-02-17 20:50:55 +01:00
mataha 9d9d605d50 Make clippy and rustfmt happy 2026-02-17 20:19:18 +01:00
mataha cca937c907 WIP 2026-02-17 20:18:36 +01:00
mataha bb75058ce6 Be consistent when comparing comptime strings 2026-02-17 20:18:36 +01:00
mataha 864f8cad91 WIP 2026-02-17 20:18:33 +01:00
mataha acb9e95e7e Add common shorthands as command aliases 2026-02-17 20:16:52 +01:00
mataha 3883fcd487 Initialize hook only if it's a `pwd` hook 2026-02-17 20:16:52 +01:00
mataha 435a62266a Tighten the check for command-line context 2026-02-17 20:16:52 +01:00
mataha 8d61617c6a Quit if Command Extensions are disabled 2026-02-17 20:16:52 +01:00
mataha 1ee0195a0d Sanitize trailing backslash when in root directory 2026-02-17 20:16:52 +01:00
mataha e7dba81869 Quote external command macros directly 2026-02-17 20:16:52 +01:00
mataha 3f2283c502 Fall back to being `cd` if directory exists 2026-02-17 20:16:52 +01:00
mataha 6f3d0a24b8 Don't hardcode command names 2026-02-17 20:16:52 +01:00
mataha 0d0f557580 Make the Command Extensions requirement more clear 2026-02-17 20:16:52 +01:00
mataha ae74cea6ac Don't run with Command Extensions disabled 2026-02-17 20:16:52 +01:00
mataha ed35b884db Make sure `OLDPWD` is not set 2026-02-17 20:16:52 +01:00
mataha c21e82ac49 Fix whitespace suppression in `cmd.exe` template 2026-02-17 20:16:52 +01:00
mataha 23e4e78431 Disable delayed expansion in `cmd init` 2026-02-17 20:16:52 +01:00
mataha 06c19d8d31 Make percent characters work in all contexts 2026-02-17 20:16:52 +01:00
mataha 1a403b4322 Fix rustfmt errors 2026-02-17 20:16:52 +01:00
mataha 6e88046442 Make the test run 2026-02-17 20:16:52 +01:00
mataha ba2c1345e4 Add tests for path prefix normalization 2026-02-17 20:16:52 +01:00
mataha 80d870c071 Normalize path prefix on Windows 2026-02-17 20:16:52 +01:00
mataha b3fa50fa89 Update `dunce` to 1.0.4 2026-02-17 20:16:50 +01:00
mataha bf8429db6b Mark template tests with `cfg` directives 2026-02-17 20:16:35 +01:00
mataha 85b2596b29 Add support for `cmd.exe` (experimental) 2026-02-17 20:16:01 +01:00
Ajeet D'Souza ce46915901 install.sh: Prefix global variables 2026-02-07 12:15:06 +05:30
Ajeet D'Souza d208a66f58 install.sh: early exit on error 2026-02-07 11:59:53 +05:30
Andrew Bradley d7458b756e
Support symlinks on Windows (#1149) 2026-02-02 11:07:36 +05:30
Ajeet D'Souza 9cdc6aa374 chore(release): v0.9.9 2026-01-31 13:12:16 +05:30
stringscut 52a716fed6
chore: improve code comments clarity (#1158)
Signed-off-by: stringscut <stringscut@outlook.jp>
2026-01-30 16:55:23 +05:30
Simon Olofsson 324b0d35e7
fish: clear existing completions before defining aliases (#1165)
Fish ships with built-in completions for common commands like `j` (share/completions/j.fish for autojump). These override zoxide's completions when using `--cmd j`. Clear them before defining aliases.
2026-01-30 16:54:27 +05:30
dependabot[bot] f00fe0f0ae
Bump actions/upload-artifact from 5 to 6 (#1157)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 00:19:31 +05:30
dependabot[bot] 20dd3e1ec6
Bump actions/checkout from 5 to 6 (#1152)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 03:14:34 +05:30
dependabot[bot] da3905ba84
Bump Swatinem/rust-cache from 2.8.1 to 2.8.2 (#1154)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 03:14:24 +05:30
Ajeet D'Souza d304543d2e
Remove uses of builtin from POSIX (#1146) 2025-11-18 20:14:28 +05:30
Mark Derricutt ecf72c9cfd
Update zoxide to support Fish 4.1.x (#1046) 2025-11-18 14:49:41 +05:30
Ajeet D'Souza 9e82a6d127
Add ARMv7 target for Android in release workflow (#1144) 2025-11-18 14:05:45 +05:30
Ajeet D'Souza e3212cdc08
Use template for mktemp (#1140) 2025-11-18 13:54:46 +05:30
Ajeet D'Souza 0c55cb9621
Avoid wrecking pipestatus in Bash (#1141) 2025-11-18 06:32:03 +05:30
nisbet-hubbard fcce9804a7
Update README.md for RHEL 10 & derivatives (#1078) 2025-11-02 05:34:18 +05:30
Halil Özgür 55cd49d4a0
Strikeout apt.cli.rs due to sunsetting (#1108) 2025-11-02 05:21:57 +05:30
Sandro 5fde31383f
Don't downcast PROMPT_COMMAND (#1036) 2025-11-02 04:43:18 +05:30
dependabot[bot] af220b11e7
Bump actions/upload-artifact from 4 to 5 (#1126)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 15:50:05 +05:30
Ajeet D'Souza 194f8e31e4
Update README.md 2025-10-03 02:59:45 +05:30
Ajeet D'Souza eb7b08fed3
Update README.md 2025-09-30 18:34:43 +05:30
dependabot[bot] 6ac39b7f41
Bump Swatinem/rust-cache from 2.8.0 to 2.8.1 (#1119)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 01:57:49 +05:30
Ajeet D'Souza 76125d9bd3 Update sponsorship 2025-09-18 21:11:43 +05:30