help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to specify the current directory when I start a shell in aquamac


From: Pascal J. Bourguignon
Subject: Re: how to specify the current directory when I start a shell in aquamacs
Date: Wed, 08 Jul 2009 09:00:13 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

n179911 <n179911@gmail.com> writes:

> Hi,
>
> I start aquamacs in a directory, say '~/dir1/dir2'
> and then in aquamacs, i do 'M-x shell'
>
> and it launches a shell, but why when I do 'pwd' in the shell, it goes
> back to my HOME, i.e ~?
>
> Is there anyway to configure aquamacs to start a shell when I do M-x
> shell to the directory of  where I launched aquamacs?
>
> In my above example, it would be ~/dir1/dir2?

C-x C-f ~/dir1/dir2 RET
M-x shell RET


C-x b *scratch* RET
M-x set-default-directory RET ~/dir/dir2
M-x shell RET

-- 
__Pascal Bourguignon__


reply via email to

[Prev in Thread] Current Thread [Next in Thread]