aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-08 18:18:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-08 18:18:40 +0200
commit6c0c0aa15c1192044885b01dc477637b47bad3e0 (patch)
treef0efca9f6913a085985a132f4ac373737fa860e6
parentbed91a8e363ab4da1bb0c29ac20107b2647b7f46 (diff)
downloadlbsd-6c0c0aa15c1192044885b01dc477637b47bad3e0.tar.gz
~/.shrc: Add 'm' alias
-X prevents less from clearing the screen. -F makes it quit if the printed lines fit on one screen.
-rw-r--r--home/john/.shrc1
1 files changed, 1 insertions, 0 deletions
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)"