参见宝藏👨:https://guangchuangyu.github.io/cn/2016/12/clifun/
figlet PYZ | cowsay -n -f dragon | lolcat
其实也就是三个程序:
- figlet 输出ascii 图案字体
- cowsay 画小动物说话
- lolcat 变彩色
现在我想要把它在mac 中实现bash 开启自启动,直接编辑 ~/.bash_profile 文件,加入上述命令,就可以潇洒的装bei 啦~
如果是R 呢?
考虑到R studio 的console 默认下非常的拥挤(其实我们也不需要多大):
用fortune 替代了自己酷酷的艺术字:
> system("fortune | cowsay -f elephant-in-snake")
_________________________________________
/ I am a friend of the working man, and I \
| would rather be his friend than be one. |
| |
\ -- Clarence Darrow /
-----------------------------------------
\
\ ....
........ .
. .
. .
......... .......
..............................
Elephant inside ASCII snake