Questions tagged [eshell]

Eshell is a command shell written in Emacs Lisp.

99 questions
0
votes
1 answer

How to make eshell-autojump case insensitive under Linux

Under Linux, eshell-autojump will do case sensitive matching which I just find a nuisance. I've tried to circumvent this by advising eshell/j with a eshell-under-windows-p that always returns t but to my chagrin eshell-under-windows-p invoked in…
Vlatko Šurlan
  • 405
  • 3
  • 10
0
votes
2 answers

eshell Doesn't Honor display-buffer

I use display-buffer C-x 4 C-o to set a buffer to the other window. This works great unless I want to put my eshell buffer in the other window. eshell puts itself in my current window every time. If I prefix the command with C-u eshell switches…
Cristian
  • 42,563
  • 25
  • 88
  • 99
0
votes
1 answer

Make invisible eShell(kiosk) window on startup

I want my file to start on eShell minimized or even better hidden. Here is my code at this moment: $ShellLauncherClass =…
Dainius
  • 11
  • 3
0
votes
1 answer

Term-set-escape-char problem

When I start M-x eshell it gives me message "term-set-escape-char: Key sequence M-x starts with non-prefix key". It doesn't give me prompt in the eshell window. eshell-prompt-regexp is "^[^#$\n]* [#$] ". eshell-prompt-function is: (lambda…
aartist
  • 3,145
  • 3
  • 33
  • 31
0
votes
1 answer

In Dired, how do I add the file path to the kill ring with relevant characters escaped?

As this answer explains, the Dired function dired-copy-filename-as-kill (0 w) lets one add the path of the file at point to the kill ring. However, I would like to use this path on Eshell, where characters such as SPC need to be escaped. Is there a…
Pablo
  • 3
  • 2
0
votes
0 answers

Emacs unable to locate python

I am trying enable python dev environment in Doom Emacs (to which I am a newbie); I installed elpy; and tried to launch shell to which it says "python not found but can be installed from Microsoft...". Then I added this to my config.el: (setq…
sawan
  • 67
  • 3
0
votes
2 answers

How to highlight some words in Eshell?

I use Eshell in Emacs to run a program and I could check the output in the Shell , but I want to highlight some words like ‘errors’ ‘info’,or other words like that. How could I do that ?
Wang Li
  • 3
  • 2
0
votes
1 answer

How to add "^" as an argument to a command in emac's eshell?

I am trying to make a command-line calculator for use by a webpage I am making. But when I try to execute in eshell with java Calculate -exp 10^20^30 I get: :s/20/30/ Wrong type argument: stringp, 106 But that same command works fine in the regular…
0
votes
1 answer

(Emacs) How to only show last directory in emacs shell?

I would like to know if it is possible to show only last directory in eShell (Emacs Shell). For example, It's currently in path /home/user/Programming/C++. With current setup of eshell, ~/Programming/C++ $, but I would like to show only this: C++…
class_OpenGL
  • 185
  • 1
  • 10
0
votes
1 answer

Command+K in Eshell (mac)

Often I will have multiple buffers open in Emacs, including a few eshells, and using the muscle-memory from bash, I will Command+K to try and clear the buffer in eshell. However, using this in eshell just screws up all of my buffers and I have to…
Paradox
  • 1,935
  • 1
  • 18
  • 31
0
votes
2 answers

Strange error output with emacs eshell (possibly related to zsh?)

I'm new to Emacs and am trying to use eshell. Unfortunately, when I have errors in a C file, for example, I receive some odd error output (this is just an example; the particular error isn't important): ^[[1m2-2.c:18:18: ^[[0m^[[0;1;31merror:…
anon
  • 2,143
  • 3
  • 25
  • 37
0
votes
2 answers

How to overwrite a key binding only on eshell?

I use evil-mode on emacs, and recently I started using eshell, I really like how I can leave insert mode and move on the eshell buffer to copy content or other goodies, but when entering insert mode again it does it in the cursor current position,…
zzantares
  • 341
  • 3
  • 12
0
votes
1 answer

restart process executed in eshell in emacs

i have started a python process in eshell: python app.py i want to restart this with a elisp function, i think comint-quit-subjob when executed with C-c C-\ kills the process but all my attempts to execute comint-quit-subjob have failed This is…
chris
  • 7,222
  • 5
  • 31
  • 37
0
votes
1 answer

What Eshell's equivalent command for the shell command Ctrl-U?

In Terminal, I can erase the entire input by Ctrl-U, without invoke it. Is there such a command in Eshell?
Nick
  • 8,451
  • 13
  • 57
  • 106
0
votes
1 answer

eshell starts python IDLE instead of running script when editing remotely

With Emacs 24.3.1, I get this when editing through Tramp/ssh in eshell: / $ bash / $ python test.py hello world! / $ exit exit / $ python test.py Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) [GCC…