Sha256: 1774165b573b3c2488627e6d813e4ca6cf62af7e2abc9e4837c9e4484c298c7a

Contents?: true

Size: 598 Bytes

Versions: 14

Compression:

Stored size: 598 Bytes

Contents

# Bash completion script for ronn(1) from Ronn-NG

_ronn()
{
	local cur prev words cword
	_init_completion -n = || return

	COMREPLY=()
	cur=${COMP_WORDS[COMP_CWORD]}

	case "$prev" in
		--help|--version|-!(-*)'?')
			return
			;;
		-o|--output-dir|-!(-*)e)
			_filedir -d
			return
			;;
	esac

	if [[ "$cur" == -* ]]; then
		COMREPLY=( $( compgen -W '--pipe -m --man -S --server --port -o --output-dir -r --roff -5 --html -f --fragment --markdown --date --manual --organization -w --warnings -W --version --help'))
		return
	fi

	_filedir

	return 0
} &&
complete -F _ronn ronn

# ex: filetype=sh

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ronn-ng-0.10.1 completion/bash/ronn
ronn-ng-0.10.1.pre6 completion/bash/ronn
ronn-ng-0.10.1.pre4 completion/bash/ronn
ronn-ng-0.10.1.pre3 completion/bash/ronn
ronn-ng-0.10.1.pre2 completion/bash/ronn
ronn-ng-0.10.1.pre1 completion/bash/ronn
ronn-ng-0.10.0.pre.SNAPSHOT completion/bash/ronn
ronn-ng-0.9.1 completion/bash/ronn
ronn-ng-0.9.0 completion/bash/ronn
ronn-ng-0.8.2 completion/bash/ronn
ronn-ng-0.8.1 completion/bash/ronn
ronn-ng-0.8.0 completion/bash/ronn
ronn-ng-0.8.1.beta.1 completion/bash/ronn
ronn-ng-0.8.0.SNAPSHOT completion/bash/ronn