Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

There was a program named NCD (Norton Change Directory) a few years ago that did a good job at helping me change directory back in the DOS days.

This programs displayed a tree, and you could navigate in the tree with the directional arrows, and even find directories with regex (substrings).

Which program is there today to do this task ? I found wcd (available on Ubuntu), but for some reason it doesn't change the CWD to what I choose in the tree view, it just displays it on stdout. I just have

-> /home/ant/arduino-0023/examples

when I hit enter, and the cwd has not changed.

I'm looking for a program that runs on Linux and OS X.

share|improve this question
1  
What about midnight commander? –  Marco Dec 6 '12 at 21:44
    
It's OK if there is a way to exit with one keystroke that is not a function key (F10 and many other already taken) and no confirmation, and a tree view. –  Antoine Lecaille Dec 6 '12 at 22:07
    
Zsh has a lot of ways to make completion very fancy. Maybe one of its settings or plugins would suit you. –  Gilles Dec 6 '12 at 23:39
add comment

1 Answer

up vote 2 down vote accepted

It looks like something is wrong with the installation of wcd, and you are executing the wcd binary directly. It is important that wcd is executed via a shell function (bash) or alias (csh). Otherwise it is not possible to change the CWD. See also: http://waterlan.home.xs4all.nl/wcd.htm#installation. I don't run Ubuntu myself, so I don't know how the default installation works.

share|improve this answer
    
You are right. I had not read the full man page for wcd, in particular the installation section. –  Antoine Lecaille Dec 13 '12 at 8:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.