Don't waste your time by cd-ing in the terminal
1–10 of 124 posts
Re: Don't waste your time by cd-ing in the terminal
#2A weekend project, perhaps...
Re: Don't waste your time by cd-ing in the terminal
#3Re: Don't waste your time by cd-ing in the terminal
#4And there's a wikipedia entry for this even: http://en.wikipedia.org/wiki/Pushd_and_popd
Re: Don't waste your time by cd-ing in the terminal
#5`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
#6Re: Don't waste your time by cd-ing in the terminal
#7I'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
#8 function to {
cd ~/Sites/$1/
}
eg. cd ~/Sites/coenhyde.com$ to coenhyde.com
Re: Don't waste your time by cd-ing in the terminal
#9I'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
#10I'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...