- fix quoting bug in PINE address completion

This commit is contained in:
ianmacd 2002-06-12 19:43:00 +00:00
parent cf58e7ff48
commit cec723135c

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a # bash_completion - some programmable completion functions for bash 2.05a
# #
# $Id: bash_completion,v 1.355 2002/06/11 18:49:57 ianmacd Exp $ # $Id: bash_completion,v 1.356 2002/06/12 21:43:00 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -3029,7 +3029,7 @@ _pineaddr()
COMPREPLY=() COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]} cur=${COMP_WORDS[COMP_CWORD]}
COMPREPLY=( $( compgen -W '$( awk '{print $1}' < ~/.addressbook )' \ COMPREPLY=( $( compgen -W '$( awk "{print $1}" < ~/.addressbook )' \
-- $cur ) ) -- $cur ) )
} }
[ "$have" ] && complete -F _pineaddr $default pine [ "$have" ] && complete -F _pineaddr $default pine