mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-23 12:39:53 +00:00
9 lines
No EOL
557 B
HTML
9 lines
No EOL
557 B
HTML
Git comes with bash completion support which comes in handy for completing branch names and things like that. To get this support when installing git via Mac Ports you must add the bash\_completion variant. You'll also want to install the bash\_completion port. After that you need to add the following to your `~/.bashrc` file:
|
|
|
|
if [ -f /opt/local/etc/bash_completion ]; then
|
|
. /opt/local/etc/bash_completion
|
|
fi
|
|
|
|
For reference I have the following Git related config in my `.bashrc`:
|
|
|
|
<script src="http://gist.github.com/87724.js"></script> |