Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs ido-style shell

Tags:

Is there a command line shell or shell customization that supports emacs-style ido find file? In emacs, I can navigate to a directory extremely quickly using C-x C-f and (ido-mode t).

Ideally, I'm looking for a solution that can be used outside of emacs. Though I'd be open for a way to quickly change directories within an eshell buffer.

like image 752
zpinter Avatar asked Jul 11 '09 02:07

zpinter


People also ask

What is IDO mode Emacs?

There are many ways of improving your productivity when you use Emacs, and Ido (or “Interactively DO things”) is one of those packages that you enable and then never, ever turn off again.

What is Ido mode?

ido-mode enhances emacs switch buffer command and opening file command. It automatically show list of choices as you type (no need to press Tab first). Alt + x ido-mode. Toggle it on/off. ido-mode enhances emacs switch buffer command and opening file command.


2 Answers

Since I also wanted something like this, I tried to implement it as a bash completion function. Obviously it means. you have to use bash.

It is only lightly tested, so please feel free to try and report bugs /comments.

http://pgas.freeshell.org/shell/bash-ido

like image 177
pgas Avatar answered Sep 17 '22 15:09

pgas


Try the Z-shell. It has much better completion than bash. I must admit I haven't used it for a while though and stuck with bash because it's always available.

like image 30
Ghoti Avatar answered Sep 20 '22 15:09

Ghoti