From: Hendrik Jäger Date: Sat, 30 Dec 2023 11:49:59 +0000 (+0100) Subject: add function to list knot master zones X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=9180963240c886173f8c84bc5949c4e8f9b59563;p=user%2Fhenk%2Fvcsh%2Fzsh.git add function to list 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/'