Alpha2Mao

1. Install homebrew

2. Install Git and bash-completion: brew install git bash-completion (Note: If this install fails with a 404 error, and you already have git installed, just remove the git part of this brew install)

在我电脑上已经安装了git,现在只需要安装bash-completion即可,执行如下命令

uxiaolei@duxiaoleideMacBook-Pro:~$brew install bash-completion
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (bazelbuild/tap).
==> Updated Formulae
bazelbuild/tap/bazel

==> Downloading https://homebrew.bintray.com/bottles/bash-completion-1.3_3.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring bash-completion-1.3_3.high_sierra.bottle.tar.gz
==> Caveats
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
==> Summary

分类:

技术点:

相关文章:

  • 2021-12-17
  • 2021-11-11
  • 2021-08-24
  • 2022-03-06
  • 2021-05-29
  • 2022-12-23
猜你喜欢
  • 2021-10-29
  • 2021-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-01-26
  • 2022-02-09
  • 2022-12-23
相关资源
相似解决方案