- make psql completion perform default bash completion if all else fails

This commit is contained in:
ianmacd 2002-02-27 09:34:17 +00:00
parent 59f672285f
commit 17dcab80ec

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a
#
# $Id: bash_completion,v 1.158 2002/02/27 09:55:30 ianmacd Exp $
# $Id: bash_completion,v 1.159 2002/02/27 10:34:17 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -1712,7 +1712,7 @@ _psql()
;;
esac
}
[ "$have" ] && complete -F _psql psql
[ "$have" ] && complete -F _psql -o default psql
_longopt()
{