Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

If too lazy to type cd .... into M-x shell

Here's an update from danshell that fixes some issues: (defun updated-danshell () "Start a new shell or navigate an existing shell to the current folder." (interactive) (let ((buffer (...
PRouleau's user avatar
  • 796
0 votes

If too lazy to type cd .... into M-x shell

Thanks @rsp for doing 99% of the work. Now perfect: (defun danshell () "Start a new shell or navigate an existing shell to the current folder." (interactive) (let ((buffer (get-buffer &...
Dan Jacobson's user avatar
2 votes
Accepted

If too lazy to type cd .... into M-x shell

The following works for me: (defun my/eshell () "Start a new eshell or navigate an existing eshell to the current folder." (interactive) (let ((buffer (get-buffer "*eshell*"))...
rsp's user avatar
  • 228

Top 50 recent answers are included