commit f6adfff90dd0426b1d73ef7059b4b3dd95490b61
parent 108b8cfd360a4f4fbb4f033f2747a3b69a551ef7
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Wed, 3 Feb 2021 04:28:25 -0500
Fix ^L not clearing screen
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.config/shrc b/.config/shrc
@@ -12,6 +12,9 @@ HISTSIZE=65535
# Disable CTRL-S and CTRL-Q
stty -ixon
+# Fix ^L not clearing the screen
+bind '^L=clear-screen'
+
# Shell prompt
if [ $(whoami) = 'root' ]; then
PS1='(ROOT) [`date +%H:%M:%S`] `hostname` `pwd | sed "s,^$HOME,~,"` # '