On Thu, 28 Jul 2011 21:52:47 -0300 (BRT), Willian Sodré da Paixão <[email protected]> wrote:
> Almost every time I make a directory, I get into it. > So, I thought: would be nice if a parameter -something create and enter > the new directory. > > I can do it, but you will apply the patch? This idea is realy good for > you? I don't think that's possible. The concept of "current directory" is per-process, so even if mkdir "entered" the newly-created directory, when it terminates you would still be where you were in the parent process (eg, the shell). On the other hand, what you need is trivially done with a shell function or alias. -- D.
