summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-09 00:42:53 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-09 00:42:53 +0200
commit4b0d31adc902b55e43eb6e1677f29a8cddd9d783 (patch)
tree644df65b6a602ef35b60ed1de2c8645e6671eb5b
parent39b9d62c0eb10a89183733f75a48d814c9825d0e (diff)
Added completions for hm and np
-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