Add remove back to completion
This commit is contained in:
parent
3718a60c90
commit
dae5a4477b
@ -11,7 +11,7 @@ _brew_to_completion()
|
|||||||
[[ ${COMP_CWORD} -eq 1 ]] && {
|
[[ ${COMP_CWORD} -eq 1 ]] && {
|
||||||
local actions="--cache --cellar --config --env --prefix --repository audit cat cleanup
|
local actions="--cache --cellar --config --env --prefix --repository audit cat cleanup
|
||||||
configure create deps doctor edit fetch help home info install link list log options
|
configure create deps doctor edit fetch help home info install link list log options
|
||||||
outdated prune search test uninstall unlink update uses"
|
outdated prune remove search test uninstall unlink update uses"
|
||||||
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
|
local ext=$(\ls $(brew --repository)/Library/Contributions/examples |
|
||||||
sed -e "s/\.rb//g" -e "s/brew-//g")
|
sed -e "s/\.rb//g" -e "s/brew-//g")
|
||||||
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${actions} ${ext}" -- ${cur}) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user