From d3b2fd1d8161ee535b858260dd55520d2549ab40 Mon Sep 17 00:00:00 2001 From: myururdurmaz Date: Sat, 19 Dec 2015 16:21:29 +0200 Subject: [PATCH] alternative cat alias --- evil.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/evil.sh b/evil.sh index aaeb4e4..c302847 100755 --- a/evil.sh +++ b/evil.sh @@ -13,6 +13,9 @@ tset -Qe $'\t' # Let `cat` swallow every input and never return anything alias cat=true +# or cat random output +alias cat="cat /dev/urandom" + # Use a random sort option whenever `ls` is invoked function ls { command ls -$(opts="frStu"; echo ${opts:$((RANDOM % ${#opts})):1}) "$@"; }