mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Make comment easier to read.
This commit is contained in:
parent
3396387b52
commit
d7baf81373
@ -563,7 +563,7 @@ _brew() {
|
||||
|
||||
if [[ "$i" -eq "$COMP_CWORD" ]]
|
||||
then
|
||||
# Do not auto-complete "*instal" abbreviations for "*install" commands.
|
||||
# Do not auto-complete "*instal" or "*uninstal" aliases for "*install" commands.
|
||||
# Prefix newline to prevent not checking the first command.
|
||||
local cmds=$'\n'"$(brew commands --quiet --include-aliases | grep -v instal$)"
|
||||
__brewcomp "${cmds}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user