From 4af740103f59f9cb3a7d5c0fdedcf156e8e5f10a Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 25 Sep 2021 12:45:23 -0400 Subject: Revert "Add cat alias using less" This reverts commit 8e3eea73f069cdbbc16da14e48a44d610dd07a07. Yeah this really doesn't work on OpenBSD. I kind of got into the habit of explicitly running less anyway. --- home/.shrc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/home/.shrc b/home/.shrc index fb474b98..7f4d08dc 100644 --- a/home/.shrc +++ b/home/.shrc @@ -18,14 +18,6 @@ alias rand='openssl rand -base64 33' alias private='eval "$(gpg -d ~/.private)"' command -v doas >/dev/null && alias sudo=doas -cat() { - if [ $# -eq 1 ] && test -t 1; then - less "$@" - else - command cat "$@" - fi -} - man() { test $# -ne 1 && { command man "$@"; return $?; } (IFS=: -- cgit 1.4.1