Some of these steps were taken from here: http://justamemo.com/2009/02/09/bash-completion-along-with-svn-and-git-tab-completion/
I used MacPorts to install bash-completion:
sudo port install bash-completion
Save the following http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/bash_completion
Add the following to .bash_profile or .profile as appropriate.
# for bash-completion
if [ -f /opt/local/etc/bash_completion ]; then
Now restart your Terminal.
I recently ran into an issue where a system I was accessing would paste the last command when typing “Esc .” I know this is a Bash shortcut so I went to investigating
Turns out in /etc/bashrc I found set -o vi which tells the shell to use a vi-style command line editing interface.
Here is the output with no options given for my system:
[dlopez@dlodev ~]$ set -o
The output of the command above produced vi on for the system not functioning as I expected.