Where Have You Been My Whole Life? bash : magic-space
https://relentlesscoding.com/posts/bash-magic-space/
Put the following in your ~/.inputrc:
$if Bash
Space: magic-space
$endifAnd now, anytime you press a space, it substitutes the actual for the recall - so if you typed !!, you'll get the entire text of the previous command. Ditto for !$, !:2 (third word from previous command), etc.
Would definitely have saved Naseeba some work to know about this :) Though, I think the & thing alone was worth it :)
Comments
Post a Comment