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
Steven Xu
db14bdc2ff
nushell: use sigil operator ( #1070 )
2025-05-31 04:53:54 +05:30
Lisa FS
7691d7e9a5
nushell: fix jumping to symlinks that are not in the database ( #1032 )
...
Expand path before checking for its type. This solves the issue of ignoring symlinks.
2025-04-13 08:46:27 -05:00
Bahex
da0fdb2bae
Update nushell init script ( #966 )
2025-02-10 02:47:41 +05:30
dedebenui
1a4c4933ca
fixed nushell init for new `path type` behavior ( #830 )
2024-05-29 13:15:56 +05:30
Ajeet D'Souza
94d3cba60e
nushell: handle queries that look like args ( #761 )
2024-03-16 23:10:35 +05:30
Ajeet D'Souza
cf34d02288
--cmd cd works on all shells
2024-02-16 02:31:47 +05:30
Zuruh
f32dc6bcd8
Update nushell template to use rest operator where needed ( #663 )
2024-02-13 03:01:04 +05:30
hackers267
f537a4e6d2
Update min version of Nushell 0.86.0 ( #632 )
...
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2023-11-19 14:10:52 +05:30
JT
786519aa8f
Update nushell env update syntax ( #587 )
2023-07-01 01:01:08 +05:30
Ajeet D'Souza
0b51cb6591
Improve completions ( #562 )
2023-05-06 20:48:19 +05:30
Ajeet D'Souza
a7c8231e56
Update GitHub Actions
2023-05-05 13:24:44 +05:30
Lily Mara
4f475a75cb
Nushell: use new lambda syntax
2023-04-15 00:05:05 +05:30
Ajeet D'Souza
3ab0a7b8fd
Edit subcommand ( #498 )
2023-01-07 22:58:10 +05:30
Ajeet D'Souza
e8c5f7a975
Upgrade Nushell to v0.73.0 ( #495 )
2022-12-08 23:24:43 +05:30
Ajeet D'Souza
b38b89eb3b
Add PWD hooks to Nushell ( #439 )
2022-08-13 13:18:21 +05:30
Ajeet D'Souza
b0c899b99f
Support `z -` in Nushell
2022-08-12 13:03:19 +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
41b8f08c46
Upgrade Nushell to v0.37.0 ( #266 )
2021-09-18 01:55:51 +05:30
Ajeet D'Souza
9d4c3096df
Explicitly trim newlines
2021-09-09 20:09:13 +05:30
Ajeet D'Souza
bc8958943b
Simplify hook logic
2021-09-09 09:21:46 +05:30
Ajeet D'Souza
a80f20520e
Remove unnecessary echo
2021-09-03 10:11:42 +05:30
Ajeet D'Souza
9ff899308d
Use PROMPT_STRING environment variable
2021-08-31 21:28:23 +05:30
Ajeet D'Souza
6be3998bb6
Fixes for elvish 0.16.0 ( #255 )
2021-08-24 02:00:34 +05:30
Ajeet D'Souza
59717fa8d3
Release v0.7.3
2021-08-05 19:22:13 +05:30
Ajeet D'Souza
05a95fe525
Add generated code warning for Nushell
2021-08-05 14:22:12 +05:30
Ajeet D'Souza
b9b0abe471
Upgrade tests to Nushell 0.33
2021-07-11 20:22:07 +05:30
Ajeet D'Souza
340454b49b
Fixes for Nushell 0.33
2021-07-01 02:11:46 +05:30
Ajeet D'Souza
36f3967f9c
Support Nushell 0.32.0 ( #219 )
2021-06-03 02:49:21 +05:30
Ajeet D'Souza
efe11ec924
Improvements to query algorithm
2021-05-06 04:31:57 +05:30
Ajeet D'Souza
6d3cb4bc99
Rename variables
2021-05-04 02:42:43 +05:30
Ajeet D'Souza
650732c82c
Nushell should only call hook within filesystem ( #202 )
2021-05-04 02:39:30 +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