Questions tagged [eshell]
Eshell is a shell-like command interpreter implemented in Emacs Lisp.
230 questions
0
votes
0
answers
42
views
confusion about eshell source blocks in org-babel
I'm confused about eshell as a language for org-babel source blocks.
When I try to use such a block, I cannot seem to get any useful functionality. If I edit the contents of such a block, pretty much ...
0
votes
0
answers
35
views
How can I have local ssh history with eshell?
With eshell, I seem to have a global history, if I connect to remote systems, I still see commands in my history, from totally different ssh sessions.
Can I have eshell history per host or what is the ...
0
votes
0
answers
49
views
eshell colorize diff output via highlighting
so far on my windows machine I am not able to get colored lines for diffs in eshell
This would be crucial for me to use it as my goto git tool as I prefer not to use magit.
With
(defun tietan/hs-diff-...
0
votes
0
answers
67
views
Using cd in eshell scripts
I'm trying to do an extremely trivial build script in eshell (because the STM IDE is too slow).
The idea is this:
cd Release
make all
arm-none-eabi-objcopy <stuff>
st-LINK_CLI <stuff>
in ...
1
vote
0
answers
60
views
Python command works in term but doesn't in eshell
I'm trying to run a python script using selenium (that should call the executable geckodriver, installed) but, while the script runs in term, it errors in eshell (and in the python console).
A minimal ...
0
votes
1
answer
85
views
How to configure eshell prompt to correctly display working directory on remote host over TRAMP?
Running emacs -Q for emacs 29.4 (build 2, x86_64-w64-mingw32):
~/.ssh $ cd /ssh:oracle-root:/
/ssh:oracle-root:~/ $ pwd
/ssh:oracle-root:/home/opc/
/ssh:oracle-root:~/ $ /bin/pwd
/
There should be ~/...
1
vote
1
answer
58
views
Eshell cannot execute filesystem objects that are NTFS reparse points on Windows
None of the executables inside C:/Users/Me/AppData/Local/Microsoft/WindowsApps can be run from the command line under eshell.
The error I receive when trying to run any of these executables looks like:...
0
votes
1
answer
120
views
How to use the Emacs Lisp implementations of several UNIX commands in emacs (outside of eshell)
I am curious, is it possiblie to use the Emacs Lisp implementations of UNIX commands out side of eshell?
For example, can I point grep (or consult-grep) to eshell/grep (instead of the external program)...
0
votes
0
answers
100
views
How do I tell programs to show colors by default in eshell?
M-x eshell is working pretty well for me with windows, but I'm fighting colors.
eshell supports colors very nicely these days, but most programs don't recognize that by default.
I could, for example, ...
1
vote
2
answers
146
views
`eval` in eshell
I've been trying to run ssh-agent in eshell.
From what I understand, when you run the command ssh-agent, it starts the ssh agent and send to the stdout some information that should be incorporated as ...
1
vote
2
answers
80
views
Emacs eshell ls -d doesn't work
I would like to list just my folders (not files) with Emacs eshell.
I tried ls -d . but it doesn't work. I can achieve this using with bash under term using ls -d */ but this doesn't work neither ...
0
votes
1
answer
138
views
Can eshell provide TRAMP auto-completion?
If I use find-file with a TRAMP method to navigate to a remote file in a docker or kubernetes container I'm provided with auto-completion:
C-x C-f /docker:frosty_cori:/home
In the example above, if I ...
2
votes
2
answers
279
views
How to make buffer recognize file moved?
Here's a simple use case:
I open bar/foo/file in a buffer and I'm working. In eshell, I do mv bar/foo/file bar/baz/foo/file. Now emacs can no longer recognize where to save and doesn't save it ...
0
votes
0
answers
319
views
org-latex-preview error on Windows: file was not generated please adjust dvisvgm part of org-latex-preview-process-alist
I have used org-mode before in Linux to generate LaTeX fragments very smoothly. I am using dvisvgm.
Now, I have switched to Windows. I keep getting the error "file orgtex00000.dvi was not ...
0
votes
1
answer
337
views
How to open a eshell buffer in a different window in doom emacs?
I want to open an eshell buffer in right side of the current window in the same frame.