- fix sed error when completing a relative path in insmod completion

This commit is contained in:
ianmacd 2002-07-29 04:44:37 +00:00
parent aa82f8e087
commit ca5a00e545

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a # bash_completion - some programmable completion functions for bash 2.05a
# #
# $Id: bash_completion,v 1.390 2002/07/27 09:12:57 ianmacd Exp $ # $Id: bash_completion,v 1.391 2002/07/29 06:44:37 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -469,7 +469,7 @@ _insmod()
fi fi
# do filename completion if we're giving a path to a module # do filename completion if we're giving a path to a module
if [[ "$cur" == /* ]]; then if [[ "$cur" == ?(.)/* ]]; then
_filedir _filedir
return 0 return 0
fi fi