Questions tagged [shell-mode]
is for the major mode for shell buffers. Use `C-c` prefix for accessing `M-x commands`.
90 questions
1 vote
1 answer
29 views
bash completion in emacs shell-mode with cygwin
I'm running cygwin bash in shell mode in emacs, but I don't get any completions, is there a way to set it up?
2 votes
1 answer
80 views
Zsh running in Emacs shell hides partial lines (those lacking trailing newlines)
When running zsh under Emacs shell (M-x shell) with the stock zsh config (zsh -f), partial lines are hidden from the output. Example: Start emacs without config file: $ emacs -q Set (setq explicit-...
1 vote
1 answer
301 views
Why does shell-mode truncate ps output?
Startup a fresh GTK emacs with no config with emacs -Q. Then run M-x shell. Then at the prompt: $ ps -ef Long commands will be truncated to the frame width, like this: root 526315 2 0 15:...
1 vote
1 answer
399 views
Shell echoing every command
(xpost from Unix Stack Exchange) I'm using a local shell via an Emacs shell buffer. Seemingly at random, my shell will start echoing back every command I type before the rest of the output. h ~ $ pwd ...
1 vote
1 answer
121 views
How to display an svg string (not a file) in emacs
I have a python program that uses graphviz to generate an svg image that it prints out. When I run that in a shell buffer I see a textual representation of the svg image. I'd like to see instead the ...
0 votes
1 answer
384 views
At the time of prompting for a password (from a subordinate shell), sometimes Emacs hides the password, sometimes not. Why the inconsistency?
I use shells running under Emacs (via M-x shell) under a variety of settings1. In all these settings, I use the same .emacs file. Nevertheless I observe an inconsistency, as described below. In some ...
0 votes
0 answers
92 views
How to make curly braces auto indent in sh-mode
If typed in sh-mode the closing brace is not auto-indented: function() { } If typed in c-mode the closing brace is auto-indented when inserted: function() { } The exact keystrokes are: f u n c t ...
0 votes
0 answers
124 views
Getting weird completions in shell mode
I'm getting unexpected completion suggestions in shell mode using company. For instance: I have no idea why it's suggesting random DLL filenames here. This is in Linux Emacs built from master of 2022-...