From 6c0c0aa15c1192044885b01dc477637b47bad3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 8 Jun 2021 18:18:05 +0200 Subject: ~/.shrc: Add 'm' alias -X prevents less from clearing the screen. -F makes it quit if the printed lines fit on one screen. --- home/john/.shrc | 1 + 1 file changed, 1 insertion(+) (limited to 'home/john') diff --git a/home/john/.shrc b/home/john/.shrc index b15dfc2..4d5fced 100644 --- a/home/john/.shrc +++ b/home/john/.shrc @@ -10,6 +10,7 @@ case "$-" in *i*) alias ack='ack --noheading' alias info='info --vi-keys' alias ls='ls -p' + alias m='less -XF' n() { f=`mktemp` noice -p "$@" >$f && cd "$(cat $f)" -- cgit v1.2.3