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
Ajeet D'Souza
09aa626a86
Add support for csh ( #1047 )
2025-05-06 11:28:54 +05:30
Ajeet D'Souza
06f9f3f27c
Release v0.9.7
2025-02-10 03:10:20 +05:30
Bahex
da0fdb2bae
Update nushell init script ( #966 )
2025-02-10 02:47:41 +05:30
Ajeet D'Souza
3022cf3686
Fix CI
2023-11-21 02:48:58 +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
339a789261
Avoid using completions on older Bash versions
2021-12-24 10:04:37 +05:30
Ajeet D'Souza
279e393d5c
Enable --strict checks for mypy
2021-10-29 02:22:25 +05:30
Ajeet D'Souza
8ec3a8b6c6
xonsh: Fix error messages ( #273 )
2021-10-05 15:56:04 +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
04924bbec0
Fix Xonsh test
2021-08-16 13:20:48 +05:30
Evgeny
712d3403ef
Get PWD from shell instead of the os.environ ( #239 )
2021-07-22 23:17:35 +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
e2506631e9
Find zoxide in Xonsh shells ( #168 )
2021-03-30 18:44:29 +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
22d19a74b2
Use /dev/null on Unix shells ( #152 )
2021-03-01 11:40:10 +05:30
Ajeet D'Souza
58bcbef7aa
Split tests
2020-11-11 01:06:40 +05:30
Ajeet D'Souza
5c3af59ba6
Add interactive query/remove and import
2020-10-27 00:11:40 +05:30