FG

using custom command from old .inputrc in zsh?

Fresh3 days ago
Mar 15, 20266688 views
Confidence Score0%
0%

Problem

I used to have this in my when I used bash but it doesn't work in ZSH because ZSH doesn't read the .inputrc (AFAIK): It's the one thing I miss from my bash days. Is there a way to port this command to ZSH? I tried some bindkey shenanigans with little success.

Error Output

$if Bash
  # Meta+O can be made to load the previous 
  # command and position the cursor for typing an option
  "\eo": "\C-p\C-a\ef "

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: using custom command from old .inputrc in zsh?

Low Risk

That's right, has its own line editor ( ) and doesn't read 's . Try: See about what else is possible.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment