From 9180963240c886173f8c84bc5949c4e8f9b59563 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Sat, 30 Dec 2023 12:49:59 +0100 Subject: 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/' -- cgit v1.2.3