Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cmd.exe (experimental) #567

Draft
wants to merge 34 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
252031c
Add support for `cmd.exe` (experimental)
mataha May 10, 2023
1586672
Mark template tests with `cfg` directives
mataha May 11, 2023
5cbf4b6
Update `dunce` to 1.0.4
mataha Jun 5, 2023
faa9172
Normalize path prefix on Windows
mataha Jun 5, 2023
d9af067
Add tests for path prefix normalization
mataha Jun 5, 2023
ee0a322
Make the test run
mataha Jun 5, 2023
a707db0
Fix rustfmt errors
mataha Jun 5, 2023
e87922c
Make percent characters work in all contexts
mataha Jun 6, 2023
d07d03b
Disable delayed expansion in `cmd init`
mataha Jun 6, 2023
a8b7b38
Fix whitespace suppression in `cmd.exe` template
mataha Jun 6, 2023
629faf2
Make sure `OLDPWD` is not set
mataha Jun 7, 2023
d067954
Don't run with Command Extensions disabled
mataha Jun 7, 2023
3ba7f2c
Make the Command Extensions requirement more clear
mataha Jun 11, 2023
35da686
Don't hardcode command names
mataha Jun 11, 2023
4e74256
Fall back to being `cd` if directory exists
mataha Jun 11, 2023
8122bf3
Quote external command macros directly
mataha Jun 11, 2023
53ca692
Sanitize trailing backslash when in root directory
mataha Jun 11, 2023
12ebd3d
Quit if Command Extensions are disabled
mataha Jun 11, 2023
c1a7ccc
Tighten the check for command-line context
mataha Jun 17, 2023
8e0d311
Initialize hook only if it's a `pwd` hook
mataha Jun 17, 2023
bec9717
Add common shorthands as command aliases
mataha Jun 17, 2023
410ca54
WIP
mataha Jun 10, 2024
de8fb59
Be consistent when comparing comptime strings
mataha Jun 10, 2024
94ba939
WIP
mataha Jun 10, 2024
ec460d9
Fix Windows dependencies
mataha Jun 10, 2024
aab7b52
Make clippy and rustfmt happy
mataha Jun 10, 2024
aebab75
Make markdownlint happy
mataha Jun 10, 2024
a99db4a
Update documentation
mataha Jun 10, 2024
2bf0644
Code cleanup
mataha Jun 10, 2024
3793b8f
Fix newlines
mataha Jun 14, 2024
7bc5e2b
Fix stdin end of input
mataha Jun 14, 2024
027320e
Fix formatting
mataha Jun 15, 2024
123d1e7
Consider PATHEXT when searching for fzf binary
mataha Jun 16, 2024
06e6031
Switch to labeled comments
mataha Jul 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[alias]
xtask = "run --package xtask --"

# On Windows MSVC, statically link the C runtime so that the resulting EXE does
# not depend on the vcruntime DLL.
[target.'cfg(all(windows, target_env = "msvc"))']
Expand Down
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{md,rst,txt}]
indent_size = unset
trim_trailing_whitespace = false

[*.{nix,ts,yml}]
indent_size = 2
9 changes: 4 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/contrib/completions/* eol=lf linguist-generated=true text
/contrib/completions/README.md -eol -linguist-generated -text
/init.fish eol=lf text
/templates/*.txt eol=lf text
/zoxide.plugin.zsh eol=lf text
* text=auto eol=lf

/contrib/completions/** linguist-generated
/contrib/completions/README.md -linguist-generated
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- Support for `cmd.exe` (experimental).

### Fixed

- zsh: Space-Tab completion repeating output multiple times when matching single
Expand Down
Loading
Loading