Is it possible to use different zsh menu selection behaviour for different commands?
Fresh3 days ago
Mar 15, 20261673 viewsConfidence Score0%
0%
Problem
I'm using the behaviour in , which invokes a menu below the cursor where you can see the various possibilities. The .zshrc option i have set for this is By default, pressing to select a possibility in this menu only completes the word — it does not actually send the command. For example, I might ge…
Error Output
zstyle ':completion:*' menu select=2
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is it possible to use different zsh menu selection behaviour for different commands?
Low Risk
If you really need this, theoretically you could set a function that checks the command you're executing, and complete or send the line. Try something like this (untested): Source: using custom command from old .inputrc in zsh?
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix