diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-12-30 12:49:59 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-12-30 12:49:59 +0100 |
commit | 9180963240c886173f8c84bc5949c4e8f9b59563 (patch) | |
tree | e9a24386e4db83fd0fae8fac74fc58264dbc0bfb /.zsh_functions | |
parent | 412523cf61e4be0d3bc20e77c680484455a5f385 (diff) |
add function to list knot master zones
Diffstat (limited to '.zsh_functions')
-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/' |