/dev/mataha
8fe5f48726
Merge 227997e516 into 67ca1bc959
2026-03-25 23:01:27 -04:00
dependabot[bot]
67ca1bc959
Bump cachix/cachix-action from 16 to 17 ( #1202 )
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 16 to 17.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v16...v17 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-version: '17'
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>
2026-03-24 03:50:23 +05:30
Bruno Verachten
4f04fd4167
ci: add riscv64 to release build matrix ( #1201 )
...
---------
Signed-off-by: Bruno Verachten <gounthar@gmail.com>
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2026-03-23 21:04:59 +05:30
dependabot[bot]
f74ed040fe
Bump actions/upload-artifact from 6 to 7 ( #1190 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: '7'
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>
2026-03-22 03:45:35 +05:30
dependabot[bot]
108c41ac82
Bump Swatinem/rust-cache from 2.8.2 to 2.9.1 ( #1196 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.8.2 to 2.9.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.2...v2.9.1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-version: 2.9.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-17 01:49:29 +05:30
Ajeet D'Souza
61f19a60d9
Update README
2026-03-05 11:11:54 +05:30
Ajeet D'Souza
a970320caf
Update README
2026-03-05 08:02:31 +05:30
dependabot[bot]
7e4cbb8380
Bump actions/checkout from 5 to 6 ( #1191 )
...
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>
2026-03-03 03:32:43 +05:30
Ajeet D'Souza
fb1495b0ad
Handle prompts ending in space ( #1189 )
2026-03-01 15:32:40 +05:30
Ajeet D'Souza
a461c9585f
Update README
2026-03-01 14:02:20 +05:30
Helmut K. C. Tessarek
e10ebcc2bd
ci: add workflow to publish to crates.io ( #1169 )
...
Thanks!
2026-03-01 13:02:36 +05:30
Chawye Hsu
f07a76e115
pwsh: handling `z ~` and `z` separately ( #1161 )
...
* pwsh: handling `z ~` and `z` separately
This patch enables the capability of navigating to the current user's home
directory with `z` when cwd is on a PSDrive that does not have a definition
of the `HOME` location.
Context: The fact that `~` can be counterintuitive on PowerShell, as it's
relative to the cwd, **and its value is defined with a `.Home` property of
cwd's PSProvider\[1]. Not all PSProviders however define this property, leaving
that sometimes you cannot navigate to the undefined `HOME` location with `~`.
To validate this, you can use `Get-PSDrive` to iterate your PSDrives and see
which providers define a `Home` property. On Windows,
```plain
Get-PSDrive C,HKLM | select Name,{$_.Provider.Name},{$_.Provider.Home}
Name $_.Provider.Name $_.Provider.Home
---- ---------------- ----------------
C FileSystem C:\Users\<username>
HKLM Registry
```
or on Linux/macOS,
```plain
Get-PSDrive /,Function | select Name,{$_.Provider.Name},{$_.Provider.Home}
Name $_.Provider.Name $_.Provider.Home
---- ---------------- ----------------
/ FileSystem /Users/<username>
Function Function
```
When cwd is on a PSDrive without a defined `HOME` location, the original
`Set-Location` alias `cd` in PowerShell handles this case by falling back
to the user's home directory when no argument is provided\[2], and when `~`
is explicitly provided, it results in an error.
```plain
PS C:\> Set-Location Function:
PS Function:\> cd ~
Home location for this provider is not set. To set the home location, call "(get-psprovider 'Function').Home = 'path'".
PS Function:\> cd
PS C:\Users\<username>\>
```
This patch implements the same behavior for `z` by handling `z ~` and `z` separately.
\[1]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_providers
\[2]: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-location?#-path
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
* No explicit case needed for ~
---------
Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2026-03-01 12:43:50 +05:30
Ajeet D'Souza
f3a07cd3d1
Update README.md
2026-02-19 01:13:09 +05:30
mataha
227997e516
Switch code page to UTF-8 in a separate command
2026-02-17 21:36:34 +01:00
mataha
31f6595f54
Point `cmd.exe` users to the registry key
2026-02-17 21:36:34 +01:00
mataha
e7ff4382b7
Handle UTF-8 output correctly in `cmd.exe`
2026-02-17 21:36:34 +01:00
mataha
28bddb9389
Switch to labeled comments
2026-02-17 21:36:34 +01:00
mataha
862bdf16e4
Consider PATHEXT when searching for fzf binary
2026-02-17 21:36:34 +01:00
mataha
d838651f51
Fix formatting
2026-02-17 21:36:34 +01:00
mataha
e79df688ee
Fix stdin end of input
2026-02-17 21:36:34 +01:00
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