Michael Collard
08dc03c65e
Fix trailing slash handling in directory tests
...
Resolves issue where z mydir/ fails even when mydir exists
Shell built-in directory tests can fail when paths have trailing slashes. This fix strips trailing slashes before the directory test while preserving the original path for cd.
Changes: Fish, Bash, Zsh, POSIX, and Tcsh templates now strip trailing slashes before directory tests
2026-02-12 10:41:51 -06:00
Andrew Bradley
d7458b756e
Support symlinks on Windows ( #1149 )
2026-02-02 11:07:36 +05:30
Tony
6324b4e347
Add support for multi digits dirstack entry (e.g. +12). ( #1080 )
2025-06-17 15:27:46 +05:30
Ajeet D'Souza
3fe42e901e
bash doctor
2025-01-09 04:36:18 +05:30
Ajeet D'Souza
791deec8ac
zsh doctor
2025-01-09 03:53:39 +05:30
Ajeet D'Souza
3d3267b4fd
chore(release): v0.9.6
2024-09-19 16:11:26 +08:00
Ajeet D'Souza
c1d7c4f4c7
Add support for ksh ( #885 )
2024-09-13 05:00:42 +05:30
Han Li
d655e026f5
Support `z -- dir` for zsh and fish ( #858 )
2024-07-20 10:49:43 +05:30
Ajeet D'Souza
1cb6312fb2
Return 0 only for Space+Tab
2024-05-06 10:47:50 +05:30
gi1242
208bb6375e
zsh: better local directory completion ( #787 )
2024-05-05 19:40:29 +05:30
Ashley Bartlett
5d8a7ea7b2
fix: Space-Tab interactive completions repeating ( #785 )
2024-04-13 02:30:59 +05:30
Ajeet D'Souza
c9183ce327
Always bind keys
2024-02-21 04:30:49 +05:30
Ajeet D'Souza
5592506456
Improve zsh completions ( #725 )
2024-02-21 01:45:20 +05:30
Ajeet D'Souza
0b51cb6591
Improve completions ( #562 )
2023-05-06 20:48:19 +05:30
Ajeet D'Souza
86741bbe6a
Define completions on __zoxide_z
2023-01-08 07:51:03 +05:30
Ajeet D'Souza
7af4da1dab
fzf: enable colors in preview when possible on macOS / BSD
2022-12-09 02:29:01 +05:30
Ajeet D'Souza
82d4f73aae
Use tab to cycle through completions ( #496 )
2022-12-09 01:35:13 +05:30
Ajeet D'Souza
4a47da0ed4
Don't hide output from chpwd hooks ( #474 )
2022-10-28 18:58:07 +05:30
Aaron Kollasch
1d102d4ad2
Fix interactive completion with zsh-autocomplete ( #449 )
2022-09-06 13:18:44 +05:30
Mark Keisler
1306fba4ac
zsh: allow `z` to navigate dirstack via `+n` and `-n`
2022-07-26 13:27:06 +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
6b2c6a2bc3
Fix Windows paths on Fish+Cygwin
2022-04-27 02:53:22 +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
fe553585e9
Use -- with cd so paths aren't treated as options
2021-12-31 04:52:14 +05:30
Ajeet D'Souza
d106f4e358
Rename _z function ( #324 )
2021-12-28 23:40:10 +05:30
Ajeet D'Souza
339a789261
Avoid using completions on older Bash versions
2021-12-24 10:04:37 +05:30
Ajeet D'Souza
58430d8c54
Add z completions for zsh ( #309 )
2021-12-05 14:51:32 +05:30
Oliver Mannion
c392a8bb75
Fix errors with set -eu ( #302 )
2021-11-20 01:52:15 +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
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
5c3af59ba6
Add interactive query/remove and import
2020-10-27 00:11:40 +05:30