summaryrefslogtreecommitdiff
path: root/debian/bash_completion/contrib/isql
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bash_completion/contrib/isql')
-rw-r--r--debian/bash_completion/contrib/isql12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/bash_completion/contrib/isql b/debian/bash_completion/contrib/isql
new file mode 100644
index 0000000..d4c21ab
--- /dev/null
+++ b/debian/bash_completion/contrib/isql
@@ -0,0 +1,12 @@
+# isql completion by Victor Bogado da Silva Lins <victor@bogado.net>
+#
+# $Id: isql,v 1.2 2003/12/31 08:22:37 ianmacd Exp $
+
+_isql()
+{
+ local cur
+ cur=${COMP_WORDS[COMP_CWORD]}
+
+ COMPREPLY=( $( grep \\[$cur $ODBCINI | tr -d \\[\\] ) )
+}
+complete -F _isql isql