Mac OSX terminal bash-completion not working

1,923

Solution 1

For me in tmux it worked, but in plain iTerm2 not. Solution was setting the Command to /opt/local/bin/bash -l for my used iTerm2 profile. I found the solution at https://trac.macports.org/wiki/howto/bash-completion

Solution 2

MacPorts have been breaking their bash-completion on and off for a while now. I suggest trying Fink or HomeBrew.

Share:
1,923

Related videos on Youtube

user544079
Author by

user544079

Updated on September 17, 2022

Comments

  • user544079
    user544079 over 1 year

    I have taken akeeba backup from my site and unzipped it. WHen I try to go to the index.php page, instead of the akeeba backup installation screen, I get the following error message

    Database Error: Unable to connect to the database:Could not connect to MySQL
    

    I tried editing the configuration.php file with the database info, but it does not help. Also, since I am trying to restore from backup, I have simply created a blank database and am trying to connect to it.

    • sebastiangeiger
      sebastiangeiger almost 12 years
      Update on this two years later: Been using zsh for more than a year now, couldn't be happier.
  • yanokwa
    yanokwa about 14 years
    zsh is nice, but the thread starter asked about bash.
  • Mark Thalman
    Mark Thalman about 14 years
    I realize that the original question was about bash, but I threw this out as a faster way of achieving his ultimate goal without having to install anything. While zsh isn't completely backwards compatible with bash, the modifications needed convert .bashrc to .zshrc are usually pretty minor.
  • sebastiangeiger
    sebastiangeiger about 14 years
    hmm... I can see the the advantages that zsh obviously has. While I appreciate your efforts, my intention behind posting this question was more to understand what I did wrong. Getting it to work is only secondary, it would be nice to have it but I don't really depend on it.
  • John Anderson
    John Anderson over 3 years
    "Use another tool" is not an answer to "how do I do something with the tool I have." Sometimes, the option to switch to another tool is available, but sometimes it is not.