22 lines
425 B
Plaintext
Raw Normal View History

# isql completion by Victor Bogado da Silva Lins <victor@bogado.net>
have isql || return
_isql()
{
2009-10-04 19:42:50 +02:00
local cur
_get_comp_words_by_ref cur
2009-10-04 19:42:50 +02:00
[ -f "$ODBCINI" ] \
&& COMPREPLY=( $( command grep \\["$cur" "$ODBCINI" | tr -d \\[\\] ) )
2009-06-08 21:22:43 +03:00
} &&
complete -F _isql isql
# Local variables:
# mode: shell-script
2009-10-04 19:42:50 +02:00
# sh-basic-offset: 4
# sh-indent-comment: t
2009-10-04 19:42:50 +02:00
# indent-tabs-mode: nil
# End:
2009-10-04 19:42:50 +02:00
# ex: ts=4 sw=4 et filetype=sh