🗝
about summary refs log tree commit diff
path: root/compdef.zsh
diff options
context:
space:
mode:
authormia <mia@mia.jetzt>2024-06-25 15:12:57 -0700
committermia <mia@mia.jetzt>2024-06-25 15:12:57 -0700
commit23dd080d18ab2bbb528f056bb083672c359e04e9 (patch)
tree2d988bdbdc081e9793928ee40d05afa8e55f89e9 /compdef.zsh
parenteb6e7f924f285afb4ef3505bd1c509c7c39ab772 (diff)
downloadzoner-23dd080d18ab2bbb528f056bb083672c359e04e9.tar.gz
zoner-23dd080d18ab2bbb528f056bb083672c359e04e9.zip
add zsh completions
Diffstat (limited to 'compdef.zsh')
-rwxr-xr-xcompdef.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/compdef.zsh b/compdef.zsh
new file mode 100755
index 0000000..23cacc4
--- /dev/null
+++ b/compdef.zsh
@@ -0,0 +1,2 @@
+#compdef zoner
+compadd $(ls ~/.config/zoner | grep -Po '.*(?=\.zone)')