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.
1 parent c7f0008 commit 0d04099Copy full SHA for 0d04099
src/kill.ts
@@ -40,7 +40,7 @@ const completionSpec: Fig.Spec = {
40
// Bash's `kill` builtin has different output to /bin/kill
41
script: ["env", "kill", "-l"],
42
postProcess: (out) =>
43
- out.match(/\w+/g).map((name) => ({
+ out.match(/\w+/g)?.map((name) => ({
44
name,
45
description: `Send ${name} instead of TERM`,
46
icon: "fig://icon?type=string",
0 commit comments