Fixed unset $ODBCINI bug in _isql()
Fix _isql completion waiting for grep input if $ODBCINI not set; handle whitespace in $ODBCINI. Conflicts: debian/changelog
This commit is contained in:
parent
69055046a9
commit
97e2f98fab
@ -8,6 +8,6 @@ _isql()
|
|||||||
local cur
|
local cur
|
||||||
cur=`_get_cword`
|
cur=`_get_cword`
|
||||||
|
|
||||||
COMPREPLY=( $( grep \\[$cur $ODBCINI | tr -d \\[\\] ) )
|
[ -f "$ODBCINI" ] && COMPREPLY=( $( grep \\[$cur "$ODBCINI" | tr -d \\[\\] ) )
|
||||||
}
|
}
|
||||||
complete -F _isql isql
|
complete -F _isql isql
|
||||||
|
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -143,8 +143,10 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
|
|||||||
* Prevent completion dir from being sourced twice if
|
* Prevent completion dir from being sourced twice if
|
||||||
BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433)
|
BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433)
|
||||||
* Make `_mii-tool()' and `_mii-diag()' POSIX-compliant
|
* Make `_mii-tool()' and `_mii-diag()' POSIX-compliant
|
||||||
|
* Fix _isql completion waiting for grep input if $ODBCINI not set; handle
|
||||||
|
whitespace in $ODBCINI.
|
||||||
|
|
||||||
-- Freddy Vulto <fvulto@gmail.com> Sun, 22 Feb 2009 11:32:41 +0100
|
-- Freddy Vulto <fvulto@gmail.com> Wed, 25 Feb 2009 21:16:46 +0100
|
||||||
|
|
||||||
bash-completion (20080705) unstable; urgency=low
|
bash-completion (20080705) unstable; urgency=low
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user