常用命令记录

Homebrew

gradle-completion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
brew install gradle-completion
echo $fpath | grep "/usr/local/share/zsh/site-functions"
# 执行结果
Add the following line to your ~/.bash_profile:
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"

Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> gradle-completion
Bash completion has been installed to:
/usr/local/etc/bash_completion.d

zsh completions have been installed to:
/usr/local/share/zsh/site-functions