views:

293

answers:

2

I did not find by Google a tab completion file for MacPorts. It should not apparetnly differ much from the ones for Git and Django.

How can you make a tab completion for MacPorts in Bash?

A: 

Bash sucks, use zsh.

Update: bash fans (i. e. people how never tried anything except some shell installed by default) downvoted this comment. I really think that changing shell to zsh is much better then trying to make bash look like good shell.

stepancheg
@stepancheg: I think zsh is the shell that is in Panther. Why would Apple make a switch to Bash if it is not better than zsh?
Masi
@stepancheg: Do you need tab completion files in zsh?
Masi
zsh was never the default shell for *any* release of OS X. tcsh was the default shell until Panther—bash has been the default ever since.
htw
-- and irrelevant
Matthew Schinckel
It is not trolling, and it is relevant, it is a good solution of problems. If author asks such easy question, then he does not know shells well. Instead of setting up stupid bash, it is much better to use zsh instead.
stepancheg
AFAIR zsh was a default shell in Tiger.
stepancheg
You could have explained that more clearly instead of making it look like you were trolling. Also, no, bash is the default shell in Tiger. zsh is available, but bash is definitely the default.
htw
+1  A: 

You can install the port bash-completion, as noted here.

mipadi