LoginSignup
20
14

More than 5 years have passed since last update.

macOSでbash-completionを有効にする(ついでにgit-completionも)

Posted at
  • 要Homebrew
brew install bash-completion
echo "[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion" >> ~/.bash_profile
ln -s /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash /usr/local/etc/bash_completion.d/git-completion.bash

exec $SHELL -l

これで各種コマンド入力時にTABキーを押下すると補完が効くようになります。

20
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
14