[Bash-completion-devel] [SCM] bash-completion branch, master, updated. 95cd673b5cbd5658cbf56a56a4113722aab92177

David Paleino d.paleino at gmail.com
Tue Apr 14 18:35:44 UTC 2009


On Tue, 14 Apr 2009 18:24:23 +0000, Ville Skyttä wrote:

> @@ -884,8 +885,14 @@ _mount()
>  				 | grep "^$cur" ) )
>  	else
>  		# probably Linux
> -		COMPREPLY=( $( awk '! /^[ \t]*#/ {if ($2 ~ /\//) print $2}' \
> +		if [ $prev = -L ]; then
>                       [..]
> +		elif [ $prev = -U ]; then
> +			[..]
> +		else
> +			[..]
> +		fi

Why not case..esac? :)

David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090414/a5bbaced/attachment.pgp>


More information about the Bash-completion-devel mailing list