From 0b487e838066a467a5b4ec34f9b0114e724a6d61 Mon Sep 17 00:00:00 2001 From: OJarrisonn_ Date: Sat, 27 Jul 2024 16:05:48 -0300 Subject: [PATCH] fix: use proper `path` type for path argument for `bat` (#921) Use of `string` disable `~` expansion Signed-off-by: OJarrisonn --- custom-completions/bat/bat-completions.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom-completions/bat/bat-completions.nu b/custom-completions/bat/bat-completions.nu index 23ee22f..c0c5f71 100644 --- a/custom-completions/bat/bat-completions.nu +++ b/custom-completions/bat/bat-completions.nu @@ -1,6 +1,6 @@ # A cat(1) clone with syntax highlighting and Git integration export extern "bat" [ - file?: string # file to print / concatenate. Use `-` to read from stdin + ...file: path # file to print / concatenate --help # Print help (see a summary with '-h') -h # Print help (see more with '--help') --version # Print version