summaryrefslogtreecommitdiff
path: root/.zsh_functions/knot_master_zones
diff options
context:
space:
mode:
Diffstat (limited to '.zsh_functions/knot_master_zones')
-rw-r--r--.zsh_functions/knot_master_zones1
1 files changed, 1 insertions, 0 deletions
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/'