Show quote from api.github.com/zen in shell

This commit is contained in:
2021-11-15 18:03:24 +03:00
parent 5568cb56a1
commit 3538ef7deb

View File

@@ -78,3 +78,9 @@ set -o vi
# Show calendar and date on start
cal -m
date +"%d %B %Y - %H:%M:%S, %A"
# GitHub zen
echo
echo -n 'Zen: "'
curl https://api.github.com/zen
echo '"'