You are not logged in.

#1 2013-02-25 17:12:56

rejoin
Member
Registered: 2011-06-06
Posts: 43

Instant cd

Hello,
I want to write a program which tries to guess what you would type next, like google instant. It checks the command, tries to see what it's parameteres are, and filename.
I know this works when you press tab, but it would be faster if it showed the "suggestions" in 10 lines or so, all the time. I don't know if this has been done before, I didn't find anything on the Internet. I have some basic bash knowledge, as well as python and c++. If you could point to a starting point, that would be greately appreciated.
Many thanks!
Alex.

Last edited by rejoin (2013-02-25 19:16:27)

Offline

#2 2013-02-25 21:54:18

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: Instant cd

Look at dmenu's source for a reference.
http://tools.suckless.org/dmenu/


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

Board footer

Powered by FluxBB