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
Andrew Bradley
d7458b756e
Support symlinks on Windows ( #1149 )
2026-02-02 11:07:36 +05:30
Ajeet D'Souza
d304543d2e
Remove uses of builtin from POSIX ( #1146 )
2025-11-18 20:14:28 +05:30
Ajeet D'Souza
8e14038811
Fix lints
2025-05-12 06:22:54 -07:00
Ajeet D'Souza
1d08fe2b84
Add doctor for POSIX shells
2025-05-11 23:24:35 -07:00
Ajeet D'Souza
c1d7c4f4c7
Add support for ksh ( #885 )
2024-09-13 05:00:42 +05:30
Ajeet D'Souza
0b51cb6591
Improve completions ( #562 )
2023-05-06 20:48:19 +05:30
NextAlone
7d0ddedc6b
fix: interactive completion for fish ( #385 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2022-04-27 19:05:52 +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
58430d8c54
Add z completions for zsh ( #309 )
2021-12-05 14:51:32 +05:30
Ajeet D'Souza
ba7b445348
Improved completions for Fish
2021-11-01 22:11:28 +05:30
Ajeet D'Souza
bc8958943b
Simplify hook logic
2021-09-09 09:21:46 +05:30
Ajeet D'Souza
e3c3c181a2
Remove conflicting alias definitions ( #237 )
2021-07-21 02:39:18 +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
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
d89605ffef
Use \builtin in shells ( #141 )
2021-01-29 01:12:31 +05:30
Ajeet D'Souza
e6e67b16bc
Use Nix for testing
2020-11-14 11:35:47 +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