$prev wasn't local to _psql()

This commit is contained in:
ianmacd 2002-02-18 08:27:09 +00:00
parent 386ad4b44a
commit 047dd09493

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a
#
# $Id: bash_completion,v 1.122 2002/02/18 09:26:34 ianmacd Exp $
# $Id: bash_completion,v 1.123 2002/02/18 09:27:09 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -1696,7 +1696,7 @@ _gdb()
have psql &&
_psql ()
{
local cur
local cur prev
COMREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}