369980bf93
Also move indentation settings to end of files and expand *Emacs ones to local variables block to avoid overflowing 80 char lines.
20 lines
380 B
Bash
20 lines
380 B
Bash
# isql completion by Victor Bogado da Silva Lins <victor@bogado.net>
|
|
|
|
have isql &&
|
|
_isql()
|
|
{
|
|
local cur
|
|
cur=`_get_cword`
|
|
|
|
[ -f "$ODBCINI" ] && COMPREPLY=( $( grep \\["$cur" "$ODBCINI" | tr -d \\[\\] ) )
|
|
} &&
|
|
complete -F _isql isql
|
|
|
|
# Local variables:
|
|
# mode: shell-script
|
|
# sh-basic-offset: 8
|
|
# sh-indent-comment: t
|
|
# indent-tabs-mode: t
|
|
# End:
|
|
# ex: ts=8 sw=8 noet filetype=sh
|