From 4b0d31adc902b55e43eb6e1677f29a8cddd9d783 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 9 Aug 2008 00:42:53 +0200 Subject: Added completions for hm and np --- etc/completions/_hm | 16 ++++++++++++++++ etc/completions/_np | 9 +++++++++ 2 files changed, 25 insertions(+) create mode 100644 etc/completions/_hm create mode 100644 etc/completions/_np (limited to 'etc') 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 +## 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 -- cgit v1.2.3