- fix minor quoting problem in _cd()
This commit is contained in:
parent
cc963371c4
commit
778d21e930
@ -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.237 2002/03/30 19:33:56 ianmacd Exp $
|
# $Id: bash_completion,v 1.238 2002/03/31 08:04:48 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -1695,7 +1695,7 @@ _cd()
|
|||||||
# turn relative paths from current dir into
|
# turn relative paths from current dir into
|
||||||
# absolute ones
|
# absolute ones
|
||||||
[[ ${COMPREPLY[i]} != */* ]] && \
|
[[ ${COMPREPLY[i]} != */* ]] && \
|
||||||
[ -d ${COMPREPLY[i]} ] && \
|
[ -d "${COMPREPLY[i]}" ] && \
|
||||||
COMPREPLY[i]=$PWD/${COMPREPLY[i]}
|
COMPREPLY[i]=$PWD/${COMPREPLY[i]}
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user