From b2d7d98eeb6590eb7951f958aa7d03b9ef23b74c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 11 Oct 2009 22:16:35 +0300 Subject: [PATCH] Apply pine completion to alpine too. --- CHANGES | 1 + contrib/pine | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 4a4167da..040064bf 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ bash-completion (1.x) * Include profile snippet in tarball, install it. * Rename contrib/bluez-utils to contrib/bluez to follow bluez 4.x naming. * Apply cardctl completion to pccardctl too. + * Apply pine completion to alpine too. -- David Paleino Sun, 11 Oct 2009 11:11:57 +0200 diff --git a/contrib/pine b/contrib/pine index 0c96bedd..cee6587d 100644 --- a/contrib/pine +++ b/contrib/pine @@ -1,6 +1,6 @@ # PINE address-book completion -have pine && +have pine || have alpine && _pineaddr() { local cur @@ -11,7 +11,7 @@ _pineaddr() COMPREPLY=( $( compgen -W '$( awk "{print \$1}" ~/.addressbook \ 2>/dev/null)' -- "$cur" ) ) } && -complete -F _pineaddr $default pine +complete -F _pineaddr $default pine alpine # Local variables: # mode: shell-script