2

so I set up my terminal banner with figlet and I really like it. But it will only be displayed after opening a new terminal. My question is: Can I somehow display a banner after I hit "clear"?

NOCxyB0i
  • 23
  • 4

1 Answers1

2

You'll have to edit your .bashrc file and add the following line:

alias clear='clear && (the figlet command you use)' 

Then it will start up every time you type clear.

ypnos
  • 50,202
  • 14
  • 95
  • 141
Yonatan
  • 36
  • 2