Files
oh-my-zsh/plugins
Robby RussellandClaude Fable 5.1 8d421b6309 fix(systemadmin): make the netstat fallback reachable (#14119)
Six helpers were written as `ss ... | awk ... || netstat ... | awk ...`.
A pipeline exits with its last command's status, so a missing ss still
ended in awk exiting 0 and the netstat branch never ran. On systems
without ss, sortcons, sortconip, req20, timewait20, syn20 and port_pro
printed nothing.

Each helper now picks ss or netstat by whether ss is installed. con80
gets the same shape so the file has one idiom and no longer prints
"command not found: ss" on the way to netstat. Where both backends
share the same columns, the awk program is written once.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-22 17:45:05 +02:00
..
2023-06-05 10:26:36 +02:00
2023-04-27 19:46:29 +02:00
2026-06-01 10:55:38 +02:00
2026-08-03 10:16:50 +02:00
2026-05-28 18:56:03 +02:00
2019-12-27 02:51:54 +01:00
2021-12-28 14:34:09 +01:00
2026-06-15 11:51:24 +02:00
2019-10-18 19:05:47 +02:00
2024-09-01 21:01:27 +02:00
2025-01-23 20:43:27 +01:00
2023-09-29 11:24:40 +01:00
2026-09-16 10:39:06 +02:00
2020-10-09 12:35:13 +02:00
2019-12-26 23:23:23 +01:00
2026-07-01 10:42:26 +02:00
2025-01-12 14:25:00 +01:00
2026-07-01 10:42:26 +02:00
2024-09-01 21:01:27 +02:00
2024-03-14 23:07:39 +07:00
2019-10-01 21:21:05 +02:00
2020-03-04 09:12:58 +01:00
2019-12-27 00:58:31 +01:00
2020-09-26 12:38:31 +02:00
2019-10-01 20:10:11 +02:00
2024-09-01 21:01:27 +02:00
2022-10-03 17:03:53 +02:00
2024-09-19 11:44:51 +02:00
2019-12-27 01:05:47 +01:00
2022-01-05 09:23:55 +01:00
2019-10-25 13:14:53 +02:00
2019-10-25 13:14:36 +02:00
2025-04-29 10:34:33 +02:00
2023-03-01 11:23:32 +01:00
2022-10-03 17:03:53 +02:00
2024-09-01 21:01:27 +02:00
2020-04-05 17:14:48 +02:00
2019-12-27 02:34:35 +01:00
2019-05-24 12:17:26 +02:00
2025-06-29 17:09:07 +02:00
2026-02-23 10:46:40 +01:00