diff --git a/bash_completion b/bash_completion index 511dcf07..b5f72aac 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05b # -# $Id: bash_completion,v 1.456 2002/10/22 20:23:41 ianmacd Exp $ +# $Id: bash_completion,v 1.457 2002/10/23 15:50:04 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -586,7 +586,7 @@ _man() COMPREPLY=( ${COMPREPLY[@]##*/?(:)} ) # strip suffix from man pages COMPREPLY=( ${COMPREPLY[@]%.@(gz|bz2)} ) - COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "$cur" ) ) + COMPREPLY=( $( compgen -W '${COMPREPLY[@]%.*}' -- "${cur//\\\\/}" ) ) [[ "$prev" != [0-9ln] ]] && _filedir '[0-9ln]'