aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrandom2907 <[email protected]>2024-06-19 11:50:49 +0530
committerGitHub <[email protected]>2024-06-19 09:20:49 +0300
commit6e5804b53de753f24953d9d647940df66bc68f6d (patch)
tree1a4d69d8a36419a764dc78e29a9d75f332dcb12f
parente0e3c4c6ae15af88ac5fd5ab959adfe45a2e1dca (diff)
downloadHyprland-6e5804b53de753f24953d9d647940df66bc68f6d.tar.gz
Hyprland-6e5804b53de753f24953d9d647940df66bc68f6d.zip
hyprctl: fix zsh completion (#6467)
Co-authored-by: random2907 <[email protected]>
-rw-r--r--hyprctl/hyprctl.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/hyprctl.zsh b/hyprctl/hyprctl.zsh
index 6babd835..1a4cc187 100644
--- a/hyprctl/hyprctl.zsh
+++ b/hyprctl/hyprctl.zsh
@@ -1,3 +1,5 @@
+#compdef hyprctl
+
_hyprctl_cmd_2 () {
hyprctl monitors | grep Monitor | awk '{ print $2 }'
}