aboutsummaryrefslogtreecommitdiff
path: root/src/cli.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-05 01:15:09 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-05 01:15:09 -0700
commit3ef55d10ae43254e32afe8c4cec3391edbce9b9a (patch)
treeebf4e4cbcb1a14c475a853e304a2731ef17e4233 /src/cli.zig
parent5ce171d92c95461c288a4fd2fc2ff38cf8609b12 (diff)
downloadbun-3ef55d10ae43254e32afe8c4cec3391edbce9b9a.tar.gz
bun-3ef55d10ae43254e32afe8c4cec3391edbce9b9a.tar.zst
bun-3ef55d10ae43254e32afe8c4cec3391edbce9b9a.zip
[bun run] Improve `fish` completions by adding a description
Diffstat (limited to 'src/cli.zig')
-rw-r--r--src/cli.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli.zig b/src/cli.zig
index 51d22db45..28fafeb55 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -682,6 +682,8 @@ pub const Command = struct {
completions = try RunCommand.completions(ctx, null, .all_plus_bun_js);
} else if (strings.eqlComptime(filter[0], "j")) {
completions = try RunCommand.completions(ctx, null, .bun_js);
+ } else if (strings.eqlComptime(filter[0], "z")) {
+ completions = try RunCommand.completions(ctx, null, .script_and_descriptions);
}
completions.print();