Live data from Hacker News

Don't waste your time by cd-ing in the terminal

huyng.com

1–10 of 124 posts

Re: Don't waste your time by cd-ing in the terminal

#2
I've also wondered to myself why there isn't a terminal program with a directory tree by the side so you could just click on the directory that you want to be in, instead of ls -cd-tab-blah-^H-tab-^M. It would also a have a list of favorite and most-recently-used directories.

A weekend project, perhaps...

Re: Don't waste your time by cd-ing in the terminal

#5
Don't waste your time bookmarking directories, jump right to them ;) https://github.com/rupa/z

`z` tracks your most used directories. After a short learning phase, it will take you to the directory, based on its usage frequency and a hint you give it on the command line. Say I am often cd'ing into /var/www - then after a while I can just type `z ww`.

Re: Don't waste your time by cd-ing in the terminal

#7
post #2

I've also wondered to myself why there isn't a terminal program with a directory tree by the side so you could just click on the directory that you want to be in, instead of ls -cd-tab-blah-^H-tab-^M. It would also a have a list of favorite and most-recently-used directories. A weekend project, perhaps...

Because that would require a mouse, and that would require an X server, etc...

Re: Don't waste your time by cd-ing in the terminal

#9
post #7
post #2

I've also wondered to myself why there isn't a terminal program with a directory tree by the side so you could just click on the directory that you want to be in, instead of ls -cd-tab-blah-^H-tab-^M. It would also a have a list of favorite and most-recently-used directories. A weekend project, perhaps...

Because that would require a mouse, and that would require an X server, etc...

Works fine in vim with NERDTree without a mouse.

Re: Don't waste your time by cd-ing in the terminal

#10
post #2

I've also wondered to myself why there isn't a terminal program with a directory tree by the side so you could just click on the directory that you want to be in, instead of ls -cd-tab-blah-^H-tab-^M. It would also a have a list of favorite and most-recently-used directories. A weekend project, perhaps...

http://en.wikipedia.org/wiki/Midnight_Commander
Post reply on HN