💻 Software
Is there any way to save a keyboard macro in bash?
Fresh5 days ago
Mar 15, 20263703 viewsConfidence Score0%
0%
Problem
I would like to permanently save a keyboard macro that I've recorded using C-x ( and C-x ). Is there an easy way to "see the source" for my newly recorded macro so that I can bind it to a keyboard shortcut in ~/.inputrc? I thought would do it, but it doesn't seem to...
Error Output
dump-macros
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there any way to save a keyboard macro in bash?
Low Risk
Turns out it's really not possible, that is, it wasn't possible until tonight! Since I was curious to dig into the bash source code anyways I went ahead and added this feature :). We'll see if the bash maintainers apply my patch.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix