Eshell is a command shell written in Emacs Lisp.
Questions tagged [eshell]
99 questions
46
votes
5 answers
How to open file in Emacs via eshell?
When in eshell is there a command for opening a file in another buffer?

hks
- 757
- 1
- 6
- 13
35
votes
3 answers
Advantages and disadvantages between zsh and emacs' (e)shell
i have currently switched over to emacs (aquamacs) and am in the process of migrating my entire workflow into it one step at a time (org-mode, dired, etc., from pathfinder, notational velocity, etc.).
the one thing i have yet to try (and seems to be…

mt3
- 2,654
- 4
- 26
- 29
20
votes
7 answers
Emacs ido-style shell
Is there a command line shell or shell customization that supports emacs-style ido find file? In emacs, I can navigate to a directory extremely quickly using C-x C-f and (ido-mode t).
Ideally, I'm looking for a solution that can be used outside of…

zpinter
- 2,232
- 2
- 23
- 29
18
votes
2 answers
How to set an environment variable in emacs shell (eshell)?
I cannot seem to find this anywhere. A lot of times I run commands with an environment variable set like:
export BLA=foo && ./somebinary
How do i do this in eshell? I think the command is called set but i'm not sure how to use it, what would be the…

Palace Chan
- 8,845
- 11
- 41
- 93
14
votes
3 answers
Make eshell tab completion behave like Bash
How can I make eshell autocomplete behave like Bash and Emacs in general i.e. it offers a list of choices rather than arbitrary selects one for you?
For example, if I have two directories "Download" and "Downloads", when I type "Down" and hit TAB,…

Amumu
- 17,924
- 31
- 84
- 131
11
votes
5 answers
git-log in eshell
I'm trying to run git commands in eshell. When I run:
git log -p
it will look like this:
Notice that ^[[k before the cursor. Arrow key down does not work, it will gives error says 'Not found'. You can see that at minibuffer. The only way to scroll…

sudo
- 647
- 2
- 7
- 19
11
votes
3 answers
What setup file does eshell (elisp shell) read when it starts? How eshell sets its PATH?
With emacs/eshell, the "echo $PATH" shows different paths than that of $PATH environment variable.
And I also checked that eshell doesn't read .bashrc or .profile, and I think that's the reason why the path is different.
What setup file does…

prosseek
- 182,215
- 215
- 566
- 871
10
votes
2 answers
eshell search history
I'm using emacs eshell and would like to search back through my command history. In bash you would do C-r then type something and then press C-r repeatedly until you find the command you want. On eshell it seems I have to type M-r and then type…

shmish111
- 3,697
- 5
- 30
- 52
8
votes
2 answers
Using RVM in eshell of Emacs
Using RVM in eshell of emacs, I am not able to set the ruby version. Why?
Environment : Ubuntu 9.10
/media/Work/rubyworkspace $ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
/media/Work/rubyworkspace $ rvm use 1.9.2
Using…

kgthegreat
- 1,172
- 9
- 10
8
votes
3 answers
How to do git commits in Emacs buffers
The normal way that I work is to have a small eshell buffer and a larger buffer for the code I'm working on. I use the eshell buffer to do compilation and simple tests.
If I want to do git commits, when I run it this way, I always get a new Emacs…

Vernon
- 2,703
- 2
- 24
- 30
7
votes
1 answer
What is difference between shell and eshell in emacs?
What is the difference between eshell (M-x eshell) and shell (M-x shell) in emacs. Both seems to work same but when i try to run su command or sudo command in eshell then it create a buffer named tramp/su root:localhost. but don't do the work which…

MutantMahesh
- 1,480
- 15
- 20
7
votes
8 answers
Create more than one eshell instance in emacs
Think: tiling my emacs window with eshells, a la xmonad. Is this possible? I can M-x eshell to open the first eshell instance but future invocations just focus the first instance.

mbac32768
- 11,453
- 9
- 34
- 40
6
votes
2 answers
Node.js prompt '>' can not show in eshell
I want to run Node.js in eshell, but the prompt does not right:
So, how can I fix this?

unionx
- 437
- 3
- 15
6
votes
2 answers
Case-insensitive matching with Eshell?
How can you do case-insensitive pattern matching with Eshell? With Zsh, one can use "globbing tags" (i.e., if the extended_glob is turned on) such as in
print L(#i)in(#I)ux
which would match LINux for instance.
Is there anything like that for…

falsum
- 349
- 1
- 7
6
votes
1 answer
How to write eshell script?
there.
I'm new to eshell,and now i come to a problem that how can i script it.
i've tried
(rm ~/somefile)
and it worked.so is every command like this?how should i write conditional code and loop?and what should i customize to make the system…

hq.wrong
- 353
- 3
- 5