参见宝藏👨:https://guangchuangyu.github.io/cn/2016/12/clifun/

    1. figlet PYZ | cowsay -n -f dragon | lolcat

    其实也就是三个程序:

    • figlet 输出ascii 图案字体
    • cowsay 画小动物说话
    • lolcat 变彩色

    04. 谁还不爱装逼呢? - 图1

    现在我想要把它在mac 中实现bash 开启自启动,直接编辑 ~/.bash_profile 文件,加入上述命令,就可以潇洒的装bei 啦~

    如果是R 呢?

    考虑到R studio 的console 默认下非常的拥挤(其实我们也不需要多大):

    04. 谁还不爱装逼呢? - 图2

    用fortune 替代了自己酷酷的艺术字:

    1. > system("fortune | cowsay -f elephant-in-snake")
    2. _________________________________________
    3. / I am a friend of the working man, and I \
    4. | would rather be his friend than be one. |
    5. | |
    6. \ -- Clarence Darrow /
    7. -----------------------------------------
    8. \
    9. \ ....
    10. ........ .
    11. . .
    12. . .
    13. ......... .......
    14. ..............................
    15. Elephant inside ASCII snake