Skip to content

Commit 0d62ae8

Browse files
authored
Merge pull request #585 from nix-community/faukah/push-lumttyvyzwux
nh-core/installable: fix nushell completions
2 parents ff92038 + 463fae8 commit 0d62ae8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ functionality, under the "Removed" section.
2424

2525
### Fixed
2626

27+
- Nushell completions now properly complete and expand the `installable` argument by treating it
28+
like a path instead of a string.
29+
2730
### Removed
2831

2932
## 4.3.0

crates/nh-core/src/installable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ impl Args for Installable {
129129
Arg::new("installable")
130130
.action(ArgAction::Set)
131131
.value_name("INSTALLABLE")
132+
.value_parser(clap::builder::PathBufValueParser::new())
132133
.help("Which installable to use")
133134
.long_help(format!(
134135
r"Which installable to use.

0 commit comments

Comments
 (0)