FG
💻 Software

Shortcut for reset on bash

Fresh5 days ago
Mar 15, 20262863 views
Confidence Score0%
0%

Problem

I seem to be entering reset command on bash way too often. I want to configure it to a keyboard shortcut. Say Ctrl+r or something like that. How to do it. Update: To answer the question, why I want to do this, and not just clear, So many times, I want to see git (or svn or hg) diffs and starting ov…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Shortcut for reset on bash

Low Risk

You can modify your /etc/inputrc or ~/.inputrc file according to this syntax. Bash also has a bind command that allows you to modify keybindings. I think they share a similar syntax for running shell commands. Example:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment