Skip to content

Commit

Permalink
Merge pull request #2529 from carapace-sh/ps-uid
Browse files Browse the repository at this point in the history
ps: added uids
  • Loading branch information
rsteube authored Sep 15, 2024
2 parents e5d528c + f0afe9f commit 818f9ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/actions/ps/ps.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ActionKillSignals() carapace.Action {
"XCPU", "CPU time limit exceeded", styles.CarapaceBin.KillSignalCore,
"XFSZ", "File size limit exceeded", styles.CarapaceBin.KillSignalCore,
)
}).Tag("kill signals")
}).Tag("kill signals").Uid("ps", "signal")
}

// ActionProcessExecutables completes executable names of current processes
Expand All @@ -66,7 +66,7 @@ func ActionProcessExecutables() carapace.Action {
}
return carapace.ActionValuesDescribed(executables...)
}
}).Tag("process executables")
}).Tag("process executables").Uid("ps", "executable")
}

// ActionProcessIds completes proces IDs
Expand All @@ -84,7 +84,7 @@ func ActionProcessIds() carapace.Action {
}
return carapace.ActionValuesDescribed(ids...)
}
}).Tag("process ids")
}).Tag("process ids").Uid("ps", "id")
}

// ActionProcessStates completes linux process states
Expand All @@ -102,5 +102,5 @@ func ActionProcessStates() carapace.Action {
"X", "dead (should never be seen)",
"Z", "defunct (zombie) process, terminated but not reaped by its parent",
"t", "stopped by debugger during the tracing",
).Tag("process states")
).Tag("process states").Uid("ps", "state")
}

0 comments on commit 818f9ce

Please sign in to comment.