<commit_before>#!/usr/bin/env bash
# completions.sh
# <NAME>

# Completion function for brew, the OS X package manager
_brew() {

	cur=${COMP_WORDS[COMP_CWORD]}
	prev=${COMP_WORDS[COMP_CWORD-1]}
	first=${COMP_WORDS[0]}
	second=${COMP_WORDS[1]}

	if [ "$prev" == 'brew' -o "$prev" == 'help' ]; then
		# Complete common brew commands for `brew`
		COMPREPLY=( $(compgen -W 'cask cleanup deps doctor help info install leaves link linkapps outdated pin prune reinstall remove rmtree search tap uninstall unlink unlinkapps unpin untap update upgrade uses' -- $cur) )
	elif [ "$first" == 'brew' -a "$prev" == 'cask' ]; then
		# Complete common cask commands for `brew cask`
		COMPREPLY=( $(compgen -W 'cleanup doctor help info install list search uninstall update' -- $cur) )
	elif [ "$second" == 'list' -o "$second" == 'ls' ]; then
		# Complete list options for `brew list` or `brew ls`
		COMPREPLY=( $(compgen -W '--full-name --pinned --multiple --versions' -- $cur) )
	elif [ "$second" == 'cleanup' -o "$second" == 'info' -o "$second" == 'remove' -o "$second" == 'rm' -o "$second" == 'rmtree' -o "$second" == 'uninstall' ]; then
		# Complete installed packages for brew cleanup/uninstall/info commands
		COMPREPLY=( $(compgen -W "$(ls -1 /usr/local/Cellar)" -- $cur) )
	elif [ "$second" == 'cask' -a "$prev" == 'install' ]; then
		# Complete options and installed casks for `brew cask install`
		COMPREPLY=( $(compgen -W "--force $(ls -1 /usr/local/Caskroom)" -- $cur) )
	elif [ "$second" == 'cask' -a "$prev" == 'uninstall' ]; then
		# Complete installed casks for `brew cask uninstall`
		COMPREPLY=( $(compgen -W "$(ls -1 /usr/local/Caskroom)" -- $cur) )<commit_msg>Add completions for `brew reinstall`<commit_after>#!/usr/bin/env bash
# completions.sh
# <NAME>

# Completion function for brew, the OS X package manager
_brew() {

	cur=${COMP_WORDS[COMP_CWORD]}
	prev=${COMP_WORDS[COMP_CWORD-1]}
	first=${COMP_WORDS[0]}
	second=${COMP_WORDS[1]}

	if [ "$prev" == 'brew' -o "$prev" == 'help' ]; then
		# Complete common brew commands for `brew`
		COMPREPLY=( $(compgen -W 'cask cleanup deps doctor help info install leaves link linkapps outdated pin prune reinstall remove rmtree search tap uninstall unlink unlinkapps unpin untap update upgrade uses' -- $cur) )
	elif [ "$first" == 'brew' -a "$prev" == 'cask' ]; then
		# Complete common cask commands for `brew cask`
		COMPREPLY=( $(compgen -W 'cleanup doctor help info install list search uninstall update' -- $cur) )
	elif [ "$second" == 'list' -o "$second" == 'ls' ]; then
		# Complete list options for `brew list` or `brew ls`
		COMPREPLY=( $(compgen -W '--full-name --pinned --multiple --versions' -- $cur) )
	elif [ "$second" == 'cleanup' -o "$second" == 'info' -o "$second" == 'reinstall' -o "$second" == 'remove' -o "$second" == 'rm' -o "$second" == 'rmtree' -o "$second" == 'uninstall' ]; then
		# Complete installed packages for brew cleanup/uninstall/info commands
		COMPREPLY=( $(compgen -W "$(ls -1 /usr/local/Cellar)" -- $cur) )
	elif [ "$second" == 'cask' -a "$prev" == 'install' ]; then
		# Complete options and installed casks for `brew cask install`
		COMPREPLY=( $(compgen -W "--force $(ls -1 /usr/local/Caskroom)" -- $cur) )
	elif [ "$second" == 'cask' -a "$prev" == 'uninstall' ]; then
		# Complete installed casks for `brew cask uninstall`
		COMPREPLY=( $(compgen -W "$(ls -1 /usr/local/Caskroom)" -- $cur) )
{'fraction_non_alphanumeric': 0.1846700207161882, 'fraction_numerical': 0.003551346552234389, 'mean_word_length': 3.9852507374631267, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '334109', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1152, 'n_words': 387}