Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 19127  / 2 Years ago, fri, november 18, 2022, 6:55:39

I love Linux Mint's bash customization. It includes both a color prompt and a quote displayed with ASCII art.



Is it possible to have it in Ubuntu?


More From » bash

 Answers
6

The file ~/.bashrc allows you to make the customizations you would like, among other things.



First open it with gedit ~/.bashrc



Now in order to have the multicolored prompt, find the line that looks like this:



#force_color_prompt=yes



Un-comment it (remove the #).



Now to get the ascii art and quote, you will need to install two packages:



sudo apt-get install cowsay fortune



Now in ~/.bashrc add a line with:



fortune | cowsay



Save the file, and restart your terminal (or resource the file with source ~/.bashrc).



mint-like bash prompt


[#44414] Saturday, November 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tersle

Total Points: 342
Total Questions: 109
Total Answers: 99

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;