Commit Graph

19 Commits

Author SHA1 Message Date
mataha 9d9d605d50 Make clippy and rustfmt happy 2026-02-17 20:19:18 +01:00
mataha cca937c907 WIP 2026-02-17 20:18:36 +01:00
mataha bb75058ce6 Be consistent when comparing comptime strings 2026-02-17 20:18:36 +01:00
mataha 864f8cad91 WIP 2026-02-17 20:18:33 +01:00
mataha acb9e95e7e Add common shorthands as command aliases 2026-02-17 20:16:52 +01:00
mataha 3883fcd487 Initialize hook only if it's a `pwd` hook 2026-02-17 20:16:52 +01:00
mataha 435a62266a Tighten the check for command-line context 2026-02-17 20:16:52 +01:00
mataha 8d61617c6a Quit if Command Extensions are disabled 2026-02-17 20:16:52 +01:00
mataha 1ee0195a0d Sanitize trailing backslash when in root directory 2026-02-17 20:16:52 +01:00
mataha e7dba81869 Quote external command macros directly 2026-02-17 20:16:52 +01:00
mataha 3f2283c502 Fall back to being `cd` if directory exists 2026-02-17 20:16:52 +01:00
mataha 6f3d0a24b8 Don't hardcode command names 2026-02-17 20:16:52 +01:00
mataha 0d0f557580 Make the Command Extensions requirement more clear 2026-02-17 20:16:52 +01:00
mataha ae74cea6ac Don't run with Command Extensions disabled 2026-02-17 20:16:52 +01:00
mataha ed35b884db Make sure `OLDPWD` is not set 2026-02-17 20:16:52 +01:00
mataha c21e82ac49 Fix whitespace suppression in `cmd.exe` template 2026-02-17 20:16:52 +01:00
mataha 23e4e78431 Disable delayed expansion in `cmd init` 2026-02-17 20:16:52 +01:00
mataha 06c19d8d31 Make percent characters work in all contexts 2026-02-17 20:16:52 +01:00
mataha 85b2596b29 Add support for `cmd.exe` (experimental) 2026-02-17 20:16:01 +01:00