Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 19126  / 1 Year 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, 1 Year  [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
tersle questions
Sat, Oct 23, 21, 00:33, 3 Years ago
Sat, Nov 20, 21, 09:58, 3 Years ago
Sun, Apr 17, 22, 23:01, 2 Years ago
Thu, May 11, 23, 22:57, 1 Year ago
;