FG
💻 Software

zsh completion will not work in emacs shell

Fresh5 days ago
Mar 15, 20265104 views
Confidence Score0%
0%

Problem

I'm learning about the more powerful tab-completion and expansion capabilities of zsh, and they don't seem to work when I run zsh under emacs with M-x shell: expands the tab variable in Terminal, but in shell-mode it just beeps. I poked around the emacs environment and here's what I found: TAB (tra…

Error Output

cat $PATH<TAB>

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: zsh completion will not work in emacs shell

Low Risk

You can't use shell completion inside . Emacs sends the input to the shell one line at a time when you press . When you press , it's Emacs's built-in completion that's triggered. In shell mode, Emacs tries to keep track of your current directory and…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment