Commit Graph

2 Commits (553875155211333678d2ea4b3d79af82f8c165ce)

Author SHA1 Message Date
tyzbit 906138181e
fix(misc plugins): split up multiline commands, use less -K everywhere (#2348)
`less -K` makes ctrl+c work with `less`.

When running commands in k9s that use less, sometimes the command doesn't ever return or the user doesn't wait for it to finish. Issuing ctrl+c to a command with a simple `| less` puts k9s into an unfixable state, requiring restarting because `less` never quits. With `less -K`, ctrl+c quits `less` and the user should always be returned to a working `k9s` session.

I also used multiline strings in a few places which improve readability and remove the need for double quotes in many places as many commands had gotten long.
2023-12-18 08:31:38 -07:00
Danny Rich f4007fa0ce
Add plugin examples for `helm get values` and `kubectl get events` (#1288)
* Create helm_values.yml

* Create watch_events.yml
2021-11-20 12:34:15 -07:00