Sha256: af8d89e4d053b4c4353b33c8e51a1923399b2c0612d5ed6a7a6f3ecaeed3fb91

Contents?: true

Size: 596 Bytes

Versions: 7

Compression:

Stored size: 596 Bytes

Contents

# Bash completion script for ronn(1) from nRonn

_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

7 entries across 7 versions & 1 rubygems

Version Path
nronn-0.11.1 completion/bash/ronn
nronn-0.11.0 completion/bash/ronn
nronn-0.10.2 completion/bash/ronn
nronn-0.10.1 completion/bash/ronn
nronn-0.10.1.pre4 completion/bash/ronn
nronn-0.10.1.pre3 completion/bash/ronn
nronn-0.10.1.pre2 completion/bash/ronn