I'd like to configure bash to page the output of all commands. Essentially, I want bash to behave as if every command I enter ended with '| less'. Is this possible?
You could do this:
Or put this in your
Then when you want to do
I would not recommend swapping the j and m in the bind command (or in the .inputrc file). Every time you'd press
I'm not sure if this is possible, but you can definitely make it easier on yourself by doing something like this in your .bashrc:
EDIT: As a note though this still wont work for something that is going to STDERR. You would need to something like: