- somehow, _expand had been disabled by a stray colon, so that ~user would
be expanded, but ~user/foo* would not
This commit is contained in:
parent
c987f95b25
commit
1a3c538db0
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05b
|
||||
#
|
||||
# $Id: bash_completion,v 1.544 2003/04/15 08:54:50 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.545 2003/04/17 09:38:27 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -176,7 +176,7 @@ _expand()
|
||||
|
||||
# expand ~username type directory specifications
|
||||
if [[ "$cur" == \~*/* ]]; then
|
||||
: eval cur=$cur
|
||||
eval cur=$cur
|
||||
|
||||
elif [[ "$cur" == \~* ]]; then
|
||||
cur=${cur#\~}
|
||||
|
Loading…
x
Reference in New Issue
Block a user