summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/_hm16
-rw-r--r--etc/completions/_np9
2 files changed, 25 insertions, 0 deletions
diff --git a/etc/completions/_hm b/etc/completions/_hm
new file mode 100644
index 0000000..e613f06
--- /dev/null
+++ b/etc/completions/_hm
@@ -0,0 +1,16 @@
+#compdef hm
+## vim:ft=zsh
+## hm completion
+## Daniel Friesel <derf@derf.homelinux.org>
+## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_hm
+## see also: https://derf.homelinux.org/~derf/code/h
+
+local arguments
+
+arguments=(
+ '(-r)-g[grm instead of hm]'
+ '(-g)-r[hrm instead of hm]'
+ '-u[use unicode]'
+)
+
+_arguments -s $arguments
diff --git a/etc/completions/_np b/etc/completions/_np
new file mode 100644
index 0000000..d61baa9
--- /dev/null
+++ b/etc/completions/_np
@@ -0,0 +1,9 @@
+#compdef np
+
+local arguments
+
+arguments=(
+ '::mode:(file artist album song)'
+)
+
+_arguments -s $arguments