zoxide/templates
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
..
bash.txt Fix trailing slash handling in directory tests 2026-02-12 10:41:51 -06:00
elvish.txt fix(elvish): before-chdir should assign to oldpwd upvalue (#818) 2024-05-29 15:06:28 +05:30
fish.txt Fix trailing slash handling in directory tests 2026-02-12 10:41:51 -06:00
nushell.txt nushell: use sigil operator (#1070) 2025-05-31 04:53:54 +05:30
posix.txt Fix trailing slash handling in directory tests 2026-02-12 10:41:51 -06:00
powershell.txt Fixed the arg[0] argument position (#1056) 2025-05-16 03:19:09 -07:00
tcsh.txt Fix trailing slash handling in directory tests 2026-02-12 10:41:51 -06:00
xonsh.txt Add support for csh (#1047) 2025-05-06 11:28:54 +05:30
zsh.txt Fix trailing slash handling in directory tests 2026-02-12 10:41:51 -06:00