fixes _get_cword() function to properly handle filenames with whitespaces (Closes: #394636, #468254, #474094)

This commit is contained in:
David Paleino 2008-05-11 17:58:00 +02:00
parent 51b1cac05a
commit bb511b1c42
2 changed files with 4 additions and 2 deletions

View File

@ -222,7 +222,7 @@ _get_cword()
done
cur=${cur:$word_start}
echo $cur
echo "$cur"
}
# This function performs file and directory completion. It's better than

4
debian/changelog vendored
View File

@ -19,6 +19,8 @@ bash-completion (20080501-1) UNRELEASED; urgency=low
(Closes: #455510)
- fixes Perl completion (Closes: #470742)
- fixes get_cword -> _get_cword typo (Closes: #478596)
- fixes _get_cword() function to properly handle filenames with
whitespaces (Closes: #394636, #468254, #474094)
* debian/copyright - now in a fancier machine-parsable format.
* debian/control:
- added myself to Uploaders
@ -45,7 +47,7 @@ bash-completion (20080501-1) UNRELEASED; urgency=low
* Update apt-get completion to include the flag "--no-install-recommends"
(Closes: #475242)
-- David Paleino <d.paleino@gmail.com> Sun, 11 May 2008 17:29:52 +0200
-- David Paleino <d.paleino@gmail.com> Sun, 11 May 2008 17:49:06 +0200
bash-completion (20060301-4) unstable; urgency=low