We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38cdeb0 + 64e6424 commit db2590dCopy full SHA for db2590d
CHANGELOG.md
@@ -11,9 +11,10 @@
11
12
## Bugfixes
13
14
+- Use fd instead of fd.exe for Powershell completions (when completions are generated on windows)
15
-## Other
16
17
+## Other
18
19
20
# v8.5.3
src/main.rs
@@ -97,7 +97,7 @@ fn print_completions(shell: clap_complete::Shell) -> Result<ExitCode> {
97
let program_name = first_arg
98
.as_ref()
99
.map(Path::new)
100
- .and_then(|path| path.file_name())
+ .and_then(|path| path.file_stem())
101
.and_then(|file| file.to_str())
102
.unwrap_or("fd");
103
let mut cmd = Opts::command();
0 commit comments