From 9180963240c886173f8c84bc5949c4e8f9b59563 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Sat, 30 Dec 2023 12:49:59 +0100 Subject: [PATCH] add function to list knot master zones --- .zsh_functions/knot_master_zones | 1 + 1 file changed, 1 insertion(+) create mode 100644 .zsh_functions/knot_master_zones diff --git a/.zsh_functions/knot_master_zones b/.zsh_functions/knot_master_zones new file mode 100644 index 0000000..8770fe0 --- /dev/null +++ b/.zsh_functions/knot_master_zones @@ -0,0 +1 @@ +knotc zone-status +role | rg 'role: master' | sed 's/^\[\(.*\).\].*/\1/' -- 2.39.2