[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shortcut to take me from eshell to shell and preserve cwd
From: |
Grant Rettke |
Subject: |
Re: shortcut to take me from eshell to shell and preserve cwd |
Date: |
Fri, 9 May 2014 13:53:39 -0500 |
What have you tried so far?
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
grettke@acm.org | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson
On Fri, May 9, 2014 at 1:25 PM, ckhan <charleykhan@gmail.com> wrote:
> How would I write an elisp function that is active in eshell mode that does
> the following:
> - queries current directory
> - changes to the buffer named *shell*, (runs M-x shell to create it if it's
> no there)
> - runs "cd <dir>" to drop me into the same dir that I was in in eshell
>
> Thanks for any tips!
> -ck