Douglas Sellers
6d0ba18003
feat: add `z --` to jump to last rested directory
...
Add a new `z --` command that jumps back to the last directory the user
stayed in for at least 5 seconds. The threshold is configurable via the
`_ZO_REST_THRESHOLD` environment variable (default: 5).
This is implemented entirely in the shell templates with no Rust binary
changes. Each shell hook now tracks dwell time per directory and records
the last "rested" directory in a session-local variable.
Supported across all 9 shells: bash, zsh, fish, posix, powershell,
elvish, nushell, tcsh, and xonsh.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 14:19:16 -08:00
smolsbs
ee8bbe57d3
Fixed the arg[0] argument position ( #1056 )
2025-05-16 03:19:09 -07:00
benz
628f8542a0
Fixes #995 : Wildcard expansion for PowerShell ( #1001 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2025-05-13 17:48:55 +05:30
Brian
6902d375c5
powershell: Ignore errors from `__zoxide_hooked` ( #1038 )
2025-04-10 15:46:57 +05:30
Ajeet D'Souza
5b2c9222f9
pwsh: handle queries that look like args ( #760 )
2024-03-16 12:30:19 +05:30
matan h
3898d99f0c
Use `global` scope for PowerShell variables / functions ( #597 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-08-04 07:25:48 +05:30
Ajeet D'Souza
74ccc0232f
Support for PWD hooks on all versions of PowerShell ( #563 )
2023-05-07 19:19:53 +05:30
Ajeet D'Souza
9d9bcfcac2
Handle UTF-8 output correctly in PowerShell
2022-09-18 11:33:41 +05:30
Aaron Kollasch
1d102d4ad2
Fix interactive completion with zsh-autocomplete ( #449 )
2022-09-06 13:18:44 +05:30
Ajeet D'Souza
612f264dd4
Upgrade to Nushell 0.61 ( #362 )
2022-04-22 13:11:11 +05:30
Ajeet D'Souza
b71d33b5c1
Replace `--no-aliases` with `--no-cmd`
2022-04-11 03:41:51 +05:30
Ajeet D'Souza
bd54ea3ea9
Ignore CRLF for shell scripts ( #315 )
2021-12-15 01:15:39 +05:30
Tushar
ff28b02801
Add path escapes for powershell ( #313 )
2021-12-13 12:16:12 +05:30
Ajeet D'Souza
9f2f2e978e
Use global scope for aliases ( #300 )
2021-11-11 02:22:23 +05:30
Ajeet D'Souza
ed47c2b1ac
Enable --cmd cd on PowerShell
2021-10-28 12:08:57 +05:30
Ajeet D'Souza
095e9d3d6c
Fix hook initialization on Powershell ( #280 )
2021-10-15 08:27:09 +05:30
Ajeet D'Souza
58313c67e7
Add cargo xtask test
2021-09-18 01:29:46 +05:30
Ajeet D'Souza
bc8958943b
Simplify hook logic
2021-09-09 09:21:46 +05:30
Ajeet D'Souza
ecc64be909
Add bash/elvish completions for z ( #257 )
2021-09-04 16:01:50 +05:30
Ajeet D'Souza
05a95fe525
Add generated code warning for Nushell
2021-08-05 14:22:12 +05:30
Ajeet D'Souza
3bb21ede97
zoxide-{add,remove} should accept multiple arguments ( #243 )
2021-07-29 11:45:09 +05:30
Ajeet D'Souza
20d9f3d18c
Fix init error in PowerShell strict mode ( #233 )
2021-07-17 17:57:04 +05:30
Ajeet D'Souza
6069bea81a
PowerShell should only call hook within filesystem ( #210 )
2021-05-14 10:04:13 +05:30
Ajeet D'Souza
6d3cb4bc99
Rename variables
2021-05-04 02:42:43 +05:30
Ajeet D'Souza
0f5fde5afa
Add default prompt for nushell ( #191 )
2021-04-27 17:39:09 +05:30
Ajeet D'Souza
6248f539db
Add support for Elvish ( #174 )
2021-04-09 00:05:42 +05:30
Ajeet D'Souza
0b7b29e0e8
Make z exclude current directory ( #173 )
2021-04-04 20:06:44 +05:30
Ajeet D'Souza
d9c0584aac
Add support for Nushell ( #164 )
2021-03-31 22:15:43 +05:30
Ajeet D'Souza
a9b731d80c
Remove barely-used aliases ( #158 )
2021-03-14 03:04:30 +05:30
Ajeet D'Souza
bc81154c5d
Use variable to prevent hook redefinition ( #154 )
2021-03-06 18:25:13 +05:30
Ajeet D'Souza
5c3af59ba6
Add interactive query/remove and import
2020-10-27 00:11:40 +05:30