summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-25 12:45:23 -0400
committerJune McEnroe <june@causal.agency>2021-09-25 12:45:23 -0400
commit4af740103f59f9cb3a7d5c0fdedcf156e8e5f10a (patch)
tree482ec2e18e8bfd0bea6011bdeaa9fdfc2088334d
parentPledge downgrade (diff)
downloadsrc-4af740103f59f9cb3a7d5c0fdedcf156e8e5f10a.tar.gz
src-4af740103f59f9cb3a7d5c0fdedcf156e8e5f10a.zip
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.
-rw-r--r--home/.shrc8
1 files changed, 0 insertions, 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=: