Commit Graph

2 Commits

Author SHA1 Message Date
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
Ajeet D'Souza 095b270fea csh -> tcsh 2025-05-06 00:26:07 -07:00