Tab Auto-Completion in Mac OS X when using sftp in terminal

4

0

i have been getting very frustrated lately since the readline functionality has been removed from MacOSX and Tab Auto-Completion doesn't work anymore.

So i was wondering if anyone knew a good alternative to use that i could install so i can tab auto-complete files when sftp'd in.

I heard that with-readline is a good option for this. If so, how do i get an alias sftp = with-readline sftp to work?

I would like to do the same with any other option that isn't with-readline, so i don't have to assign an alias each time i set up a session.

I am using Mac OS X 10.8(Mountain Lion) with Homebrew installed.

Thanks in advance to anyone who can help me.

pneumatics

Posted 2012-10-07T06:29:56.717

Reputation: 631

Answers

0

You could just install the MacPorts openssh port which includes an sftp built with tab completion.

Ned Deily

Posted 2012-10-07T06:29:56.717

Reputation:

2im using homebrew, i don't want to install macports because those two begin misbehaving, if i'm not mistaken. I should have probably specified that i was running homebrew. – pneumatics – 2012-10-07T07:37:59.220