Easy peasy, lemon squeezy!
Assuming bash is your default shell:
- Edit ~/.bashrc in your favourite editor. This file is located in the root file system, not the Home folder. You may need to open as root, but only if the icon shows a padlock or no entry symbol.
- Add a new line with “neofetch” in it (without the quotes), towards the bottom.
- Save the file, exit the text editor and restart Terminal.