Print random quote after status on profile load
[khome.git] / home / .profile
index 6c07eaf..b01c106 100644 (file)
@@ -14,7 +14,12 @@ then
     eval "$(ssh-agent)"
 fi
 
-# https://rustup.rs/
-export PATH="$HOME/.cargo/bin:$PATH"
-
 status
+
+printf '\n'
+
+awk \
+    -v RS='' \
+    'BEGIN {srand()} {fortunes[n++] = $0} END {print fortunes[int(n * rand())]}' \
+    ~/arc/doc/fortunes/orangebook_.txt \
+| fold -s
This page took 0.022929 seconds and 4 git commands to generate.