diff options
-rw-r--r-- | .zsh_functions/knot_master_zones | 1 |
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/' |