Skip to main content
added 21 characters in body
Source Link
chrisl-921fb74d
  • 8.8k
  • 16
  • 52
  • 54

Can one remap Ctrl-l in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwd like so:

Ctrl-l: ctrl-l: clear;ls;

Can one remap Ctrl-l in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwd like so:

ctrl-l: clear;ls;

Can one remap Ctrl-l in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwd like so:

Ctrl-l: clear;ls;

kbd markup
Source Link
jasonwryan
  • 74.8k
  • 35
  • 204
  • 230

Can one remap ctrlCtrl-ll in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwdpwd like so:

ctrl-l: clear;ls;

Can one remap ctrl-l in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwd like so:

ctrl-l: clear;ls;

Can one remap Ctrl-l in bash to execute more than just clear?

I know normally it just clears the screen. I'm looking to change that to clear the screen and list my pwd like so:

ctrl-l: clear;ls;

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.5k
  • 205
  • 1.8k
  • 2.3k
Source Link
chrisl-921fb74d
  • 8.8k
  • 16
  • 52
  • 54
Loading