diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-08 18:18:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-08 18:18:40 +0200 |
commit | 6c0c0aa15c1192044885b01dc477637b47bad3e0 (patch) | |
tree | f0efca9f6913a085985a132f4ac373737fa860e6 /home/john | |
parent | bed91a8e363ab4da1bb0c29ac20107b2647b7f46 (diff) | |
download | lbsd-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.
Diffstat (limited to 'home/john')
-rw-r--r-- | home/john/.shrc | 1 |
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)" |