Apply pine completion to alpine too.
This commit is contained in:
parent
e2c1f4117f
commit
b2d7d98eeb
1
CHANGES
1
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 <d.paleino@gmail.com> Sun, 11 Oct 2009 11:11:57 +0200
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user