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"?
Asked
Active
Viewed 467 times
1 Answers
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.
-
Thank you very much :) – NOCxyB0i Mar 02 '20 at 16:17
-
No need to use bracket though. – MD. Saffan Alvy Jul 06 '23 at 20:02