From 778d21e930f90a8c2bb27bcf3303f23bc834c3e0 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Sun, 31 Mar 2002 06:04:48 +0000 Subject: [PATCH] - fix minor quoting problem in _cd() --- bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_completion b/bash_completion index cb750f93..46ee9448 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # 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 # @@ -1695,7 +1695,7 @@ _cd() # turn relative paths from current dir into # absolute ones [[ ${COMPREPLY[i]} != */* ]] && \ - [ -d ${COMPREPLY[i]} ] && \ + [ -d "${COMPREPLY[i]}" ] && \ COMPREPLY[i]=$PWD/${COMPREPLY[i]} done fi