在 gnome-terminal 中使用彩色的 Bash 提示符
每次打开 gnome-terminal 看到的提示符都不是彩色的,很是不爽。也看了 .bashrc,没发现问题。找了一下,原来这是个 Bug 啊,看 Bash prompt string looks for xterm-color, gnome terminal identifies as xterm 这里。
修复方法也很简单,打开 .bashrc,在 27 行附近,有这么一段内容:
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
在 xterm-color 前添加一个 "xterm|" 就可以了,也就是变成了:
case "$TERM" in
xterm|xterm-color) color_prompt=yes;;
esac
也不用重启也不用重新登录,直接打开一个新的 gnome-terminal 就看到彩色的 bash 提示符了。
Comments
Couldn't have said it better myself
Posted by: Pulau Sipadan | August 9, 2011 8:55 PM
Im based in London have worked as a secretary for more than 10 years and have an HND in Business Studies but am tired of admin work and office politics and would like to do something more creative- change careers.. . I write in my spare time and have attended an advanced writing course for the past 3 years and am writing a novel. I would like to see if I could train to teach creative writing in further education colleges etc or and English /English literature. I would also be grateful if I could get any info on what qualifications you need to be able to teach English as a first language and Basic literacy skills and ESOL..
Posted by: Shannon | August 15, 2011 7:42 AM
Some people will never learn anything, for this reason, because they understand everything too soon.
Posted by: website hits | August 28, 2011 4:25 AM
I'll gear this review to 2 types of people: current Zune owners who are considering an upgrade, and people trying to decide between a Zune and an iPod. (There are other players worth considering out there, like the Sony Walkman X, but I hope this gives you enough info to make an informed decision of the Zune vs players other than the iPod line as well.)
Posted by: myboxingcoach.com review | December 14, 2011 4:21 PM
Zune and iPod: Most people compare the Zune to the Touch, but after seeing how slim and surprisingly small and light it is, I consider it to be a rather unique hybrid that combines qualities of both the Touch and the Nano. It's very colorful and lovely OLED screen is slightly smaller than the touch screen, but the player itself feels quite a bit smaller and lighter. It weighs about 2/3 as much, and is noticeably smaller in width and height, while being just a hair thicker.
Posted by: fbsubmitter.com review | December 14, 2011 4:45 PM
It is the ideal blog for everyone who wants to discover more on the following question. You know a lot its almost very difficult to argue with you (not that I actually would definitely want…HaHa). You definitely put a brand new spin for a topic thats already been written about for many years. Excellent stuff, just awesome!
Posted by: beats dr dre | February 1, 2012 5:06 PM
I was extremely pleased to find this web-site.I desired to thank you for your time for the excellent study!! I ACTUALLY absolutely enjoying every little it all and I had you saved to look at new stuff you writing.
Posted by: ghd styler | February 14, 2012 5:11 PM
hm.. i didn't agree with some things, nevertheless i do enjoyed the post in general... this article was actually proposed to me by a good friend at facebook and she ended up being right. really good read! Take care, Resa Billigt
Posted by: Resa Billigt | March 15, 2012 7:16 AM
Simply wanna say that this is extremely helpful, Thanks for taking your time to write this.
Posted by: Appegemop | August 20, 2012 10:30 AM
Your place is valueble for me. Thanks!…
Posted by: piscine bois discount | August 25, 2012 10:31 AM
Awesome blog you have here but I was wondering if you knew of any user discussion forums that cover the same topics talked about here? I'd really like to be a part of group where I can get feed-back from other knowledgeable people that share the same interest. If you have any suggestions, please let me know. Cheers!
Posted by: piscine privee | August 29, 2012 4:37 PM
Where does PCUSA get its financial support? Petro$ perhaps? Who knows!
Posted by: Guy Longie | September 19, 2012 3:08 PM
yeah but still Pinterest is growing at a fast rate that as well in such a small time..
Posted by: German Ditzler | September 22, 2012 7:47 PM
http://valmc.org//wiki/index.php?title=Broken_Down_-_Elementary_philadelphia_accident_attorneys_Secrets
Posted by: Related Site | September 24, 2012 4:58 PM
http://dr9.nksh.tp.edu.tw/100109/index.php/Philadelphia_car_accident_attorney_-_An_Insightful_Overview
Posted by: vehicle burst into flames | September 27, 2012 5:08 PM
Have you thought about putting some social bookmarking buttons to these blog posts. At least for google.
Posted by: j lindeberg sale | September 28, 2012 4:55 AM
Are you sure you are an professional on money exchange rate? * http://www.directorymod.info/index.php?q=wccforex.com
Posted by: dinar forex | September 28, 2012 10:33 AM
This is a excellent web page, would you be interested in doing an interview about how you created it? If so e-mail me!
Posted by: vinal siding | September 29, 2012 3:45 AM
Very intriguing info! Perfect what exactly I was looking for! It can be our alternatives... that show what we truly are, far over our skills. by M. K. Rowling.
Posted by: Shelby Strachman | September 29, 2012 7:12 AM
FOREX SCAMS demo forex trading FREE FOREX SOFTWARE http://statusnet.pcherstellen.nl/index.php/notice/85427
Posted by: forex competition | September 30, 2012 3:00 PM
I saw a lot of website but I believe this one has something extra in it. "The best effect of fine persons is felt after we have left their presence." by Ralph Waldo Emerson.
Posted by: Trees Reddit | September 30, 2012 5:41 PM
My wife and I stumbled over here from a other website and assumed I should check things out. I like what I see so now i am following you. Look forward to checking out your web page yet again.
Posted by: playboy playmates | October 1, 2012 12:50 AM
Wo du bloß immer diese Tatsachen her hast. Vielen dank, gut berichtet.
Posted by: Octavia | October 3, 2012 3:09 AM
Hello, i really enjoy reading your blog. I like the way its written, and totally dig the topic. Is there any way to subscribe to your site?
Posted by: Thelma | October 5, 2012 7:30 AM
Camera, Photo & Video Store: Low Price & Super Save Shipping
Posted by: escort romania | October 6, 2012 5:08 AM
hi presently there, your site is absolutely great. I do thank you for get the job done
Posted by: Colin Parras | October 6, 2012 1:07 PM
Hey, nice blog with good info. I really like coming back here often. There?s only one thing that annoys me and that is the misfunctioning of comment posting. I usually get to 500 error page, and have to do the post twice. - Content makes poor men rich; discontentment makes rich men poor. - Benjamin Franklin 1706 - 1790
Posted by: gaming | October 9, 2012 5:06 AM
A lot of comments on this web-site an no wonder simply because this is a pretty cool web site with some very good material on.
Posted by: Man Pone | October 10, 2012 7:57 PM
I like this site so much, saved to favorites. "I don't care what is written about me so long as it isn't true." by Dorothy Parker.
Posted by: Popo Sex | October 11, 2012 4:21 AM
Hello, i really enjoy reading your blog. I like the way its put together, and totally dig the design. Is there any way to subscribe to your site?
Posted by: Big Cock Tranny | October 12, 2012 7:48 PM
I've recently started a site, the info you offer on this website has helped me greatly. Thanks for all of your time & work.
Posted by: used clothes | October 13, 2012 3:25 AM
i love baby items and i love to give baby gifts to be able to my baby along with the my sister's child,,
Posted by: Ebony Larochelle | October 14, 2012 8:52 PM
I have recently started a web site, the info you offer on this website has helped me greatly. Thank you for all of your time & work.
Posted by: Russel Finlayson | October 17, 2012 12:58 PM
Hello, I found your blog site within a new directory of blogs. I don't know how your blog arrived up, will need to have been a typo, Your blog site looks great. Have a nice day
Posted by: gambar | October 19, 2012 4:08 AM
I'd be terrified of falling, but nevertheless gorgeous!
Posted by: Lenny Vergin | October 19, 2012 10:45 AM
Don't fear, Zombie Romney will just reboot the campaign, and run on a platform of decapitating the poor and taking in their brains.
Posted by: Tony Excell | October 19, 2012 7:15 PM
Probably if we had much more NP's and additional PA's carrying out wart removals and dispensing flu shots as an alternative of spending expensive doctors to do this kind of mundane get the job done, possibly we could just take a huge bite from spending 18 percent of GDP within the most expensive broken healthcare system the entire world has ever regarded, huh? On the other hand, I guess it takes obtaining hit by a meteor for a few folks to understand these kinds of logic, huh?
Posted by: Porfirio Adcox | October 19, 2012 8:56 PM
When should I expect my first letter?
Posted by: Gregg Laquay | October 21, 2012 2:41 PM
Would love to always get updated excellent website ! .
Posted by: rk3066 | October 21, 2012 4:34 PM
I think your blog is pretty great, i found it from a good friend of mine from USA
Posted by: Met Art | October 22, 2012 12:43 AM
Hello, i really enjoy watching your blog. I like the way its put together, and totally dig the concept. Is there any way to subscribe to your site?
Posted by: Seductive Tranny Blowjob | October 23, 2012 5:46 PM
Hey this is a excellent article. I'm going to email this to my buddies. I came on this while exploring on bing I'll be sure to come back. thanks for sharing.
Posted by: sealant | October 24, 2012 2:10 AM
While searching Yahoo I discovered this page in the results and I didn't think it fit
Posted by: Jerald Rufener | October 24, 2012 3:42 AM
Makes me feel all warm and fuzzy inside just pondering about it :)
Posted by: APPrecision.com | October 24, 2012 7:24 AM
Did you code|design|make this blog|site|website|page yourself? It looks great|awesome|good. I’ll be back!
Posted by: Playboy Galleries | October 24, 2012 11:08 AM
Please switch your TV off, stop eating foods with genetically-modified ingredients, and most of all PLEASE stop drinking tap water (Sodium Fluoride)
Posted by: Elaines Brain | October 24, 2012 5:55 PM
It's not that I want to replicate your website, but I really like the pattern. Could you tell me which theme are you using? Or was it especially designed?
Posted by: Doraville Lawn Maintenance | October 25, 2012 8:42 AM
pretty practical material, overall I consider this is well worth a bookmark, thanks
Posted by: Commercial Locksmith | October 25, 2012 12:15 PM
Music commenced taking part in when I opened this kind of webpage, so frustrating!
Posted by: pneumatyczna pompa malarska | October 25, 2012 4:26 PM
I am constantly thought about this, thanks for putting up.
Posted by: Gricelda Branch | October 25, 2012 11:37 PM
I was reading the news and I saw this really interesting info
Posted by: Singlechrist | October 26, 2012 6:09 AM
I've recently started a site, the information you provide on this site has helped me tremendously. Thank you for all of your time & work.
Posted by: Nancie Ackles | October 26, 2012 4:19 PM
Hello, i really enjoy watching your blog. I like the way its written, and totally dig the topic. Is there any way to subscribe to your site?
Posted by: video porn | October 27, 2012 1:09 AM
Hey there, really like the appearance of your site. Could you thoughts revealing all of us what theme you could be using? I am just having their first go this particular and i am hoping to receive excavation seeking anyplace close to great mainly because the one you have. Many thanks very much.
Posted by: majidgjssd | October 27, 2012 6:00 AM
Ha ha... I was just online around and took a glance at these responses. I can't believe that there's still this much fascination. Thanks for posting about this.
Posted by: waxing Melbourne | October 28, 2012 6:42 PM
Jorgen: According into the California Judicial Council Uniform Bail and Penalty Schedules 2012 Version from which I obtained the Site visitors Fines data for my poster, fines for:br /(one) Signal Required Ahead of Turning or Changing Lanes $234br /(2) Sudden Stopping Without Signaling $234
Posted by: Shannan Phyfe | October 29, 2012 2:56 AM
Ha ha... I was just browsing around and took a glimpse at these feedback. I can't believe there's still this much interest. Thanks for posting about this.
Posted by: billets metro lyon | October 29, 2012 4:48 AM
Thanks for writing this. I really feel as though I know so much more about this than I did before. Your blog really brought some things to light that I never would have thought about before reading it. You should continue this, Im sure most people would agree youve got a gift.
Posted by: chicken coop designs | October 29, 2012 1:17 PM
I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think.
Posted by: body massage | October 30, 2012 1:20 PM
Excellent post. I was checking constantly this blog and I am impressed! Extremely helpful info particularly the last part :) I care for such info a lot. I was looking for this certain information for a very long time. Thank you and best of luck.
Posted by: acheter nom de domaine maroc | October 30, 2012 11:30 PM
There is no such thing as a 'self-made' man. We are made up of thousands of others. Everyone who has ever done a kind deed for u
Posted by: Rico Koprowski | October 31, 2012 12:31 AM
Have you thought about introducing some social bookmarking buttons to these blog posts. At least for twitter.
Posted by: Sökmarknadsföring | October 31, 2012 1:50 AM
Ha ha... I was just surfing around and took a look at these remarks. I can't believe that there's still this much fascination. Thanks for crafting articles about this.
Posted by: www.delawareroofingcompanies.com | November 2, 2012 5:25 AM
EaKain Scalper PRO 2012. Did you see it? EA Kain makes money in every market conditions.
Posted by: Herman Coble | November 2, 2012 6:14 AM
Buy Traffic WorldWide, Europe, Asia or United States. You’ve built a great website, filled it with products and services or great content. But it can’t be successful without the most important ingredient: traffic.
Posted by: Traci Dunahoo | November 4, 2012 12:43 AM
High Quality PageRank Backlinks. The Quality High Pagerank Backlink Package contains of links with a Pagerank between 1 to 8. The Pagerank various from PR1 to PR8. The urls are randomly loaded from our database.
Posted by: Arlene Manygoats | November 4, 2012 10:34 PM
hey blogmeister! Tolle Heimseite hast du hier! Hat nicht jedermann!
Posted by: iphone 4 data recovery | November 5, 2012 8:48 AM
Nice thoughtfull post you wrote, I just need to say thanks for sharing it with me.
Posted by: Fermin Grashot | November 6, 2012 9:51 PM
Hello, i really like reading your website. I like the way its put together, and totally dig the concept. Is there any way to subscribe to your site?
Posted by: continue | November 8, 2012 5:54 AM
I bet what happened was, they discovered fire and invented the wheel on the same day. Then, that night, they burned the wheel.
Posted by: Sirena Mcpheron | November 8, 2012 3:05 PM
when i was a kid, i adore to receive an assortment of birthday presents like teddy bears and mechanical toys,
Posted by: article spinning | November 8, 2012 6:36 PM
How do you make this blog site look this awesome! Email me if you get the chance and share your wisdom. !
Posted by: ubranka dla niemowląt | November 10, 2012 2:50 PM
You Finally want the respect off your family and pals?
Posted by: kung fu | November 10, 2012 4:43 PM
You Finally want the respect off your family and friends?
Posted by: Lisandra Pysher | November 13, 2012 7:32 PM
For that reason if you are searching for the finest Italian made crystal, each of our crystal bowls, cake plates, crystal serving trays and serving selections is unsurpassed in style.
Posted by: http://www.amarita.pl | November 14, 2012 6:15 AM
Have you considered about including some social bookmarking buttons to these blog posts. At least for facebook.
Posted by: dodge caliber | November 14, 2012 6:35 PM
I?m certain you can find a lot of added nice instances in the long term for individuals who study your web site.
Posted by: Kermit Rettke | November 16, 2012 7:06 PM
Hi, this is a Nice post. I love this content, I have liked it on FB.
Posted by: Mandie | November 19, 2012 10:40 AM
Very good article! We are linking to this great post on our site. Keep up the good writing.
Posted by: Ethan Jarriett | November 20, 2012 5:26 AM
Hello.This post was extremely fascinating, particularly since I was looking for thoughts on this topic last week.
Posted by: Randy Wasserman | November 20, 2012 7:14 AM
For example - a time release morphine capsule may contain 60mg of morphine. This is quite a high dose, crushing the beads and ingesting all at once could be dangerous. However, crushing the beads and ingesting say a third of what you have would likely be a lot safer..
Posted by: pandora canada | November 21, 2012 1:06 PM
You've got some real insight into the things you write about. Do you nonetheless feel this way?
Posted by: Vince Stritzke | November 22, 2012 12:19 PM
james lafferty bio biography
Posted by: www.amarita.pl | November 24, 2012 12:59 AM
Hey I was just looking at your website in Firefox and the image at the top of the link cant show up correctly. Just thought I would let you know.
Posted by: furnace filters | November 25, 2012 3:28 PM
Director Groves -
While a second targeting mailing is good in theory it has caught a number of us cities off guard mainly because we needed the following information:
1. What was the cutoff date that determines the mailout universe?
2. What is the definition of "historically mid-range" census tracts that received the second mailing?
3. How can we assure residents that there form was not lost/destroyed/misplaced?
A second mailing gives the impression that you are receiving it because the Bureau never received it in the first place. Our suggestion for 2020. Set the cutoff date publicly, mailout to historically HTC tracts, and go out and help people fill out the form and skip the coffee mugs
Posted by: Etienne | November 27, 2012 6:15 PM
The Census just wants to know how many people are IN the household, they could care less about the sleeping arrangements. Who are YOU to question what someone else's personal business is? Maybe the Census should inquire into your personal business...such as hate crimes against homosexuals. Oh wait, the Census doesn't do that, THEY JUST COUNT PEOPLE.
Posted by: Gay | November 27, 2012 6:28 PM
I regard these sorts of passages as "would like to've seen", rather than "would like to of seen". My pronunciation, or what I like to think of as my pronunciation, is the former; not the latter.
Posted by: Elise | November 28, 2012 9:26 AM
And Im running from a normal users account with strict limitations, which I think may possibly be the limiting factor, but Im running the cmd as the system I'm currently working on.
Posted by: Hydroxatone free tria | November 29, 2012 12:16 AM
Bernie makes some solid points. I am glad he agrees with ACCE and the other organizations about the pitfalls of stamp lending (and borrowing). When the chambers that have lent out their stamps get them back, that's Job 1 of the process of improving certificate of origin handling. Job 2 will be to do the job right. Some chambers are doing a good job, but many need training, which is why our organization is preparing training materials. Once there's better quality in certificate of origin handling, there will be an appreciable value-add to the trading system.
Posted by: Bedelia | November 29, 2012 3:14 PM
Posts are so informative where we get lots of information on any topic. Nice job keep it up
Posted by: Berang | November 29, 2012 3:36 PM
I think so this may have been the least accurate Census ever!
Posted by: Amarante | November 29, 2012 4:03 PM
I would like to know if Vacant Housing appears in the TIGER file and whether this can be displayed using Google maps...
Thank you.
Posted by: Darell | November 29, 2012 4:23 PM
Wow! Lots of amazing free fonts here.I want to start designing logos to sell. Can these fonts be used without infringing on copyright laws?
Posted by: Charlene | November 29, 2012 4:27 PM
I HAVE to have a little mascara!
Posted by: Jessi Kisamore | November 29, 2012 9:11 PM
You are my inspiration , I have few blogs and often run out from to post .
Posted by: Ricardo Baggs | November 29, 2012 11:42 PM
Awhile back I did something on this. Not all of it holds up, but it still seems that names beginning with f , o, and e declined 1900-1960 while initial h was being replaced by k.
Posted by: Alavda | December 3, 2012 1:55 PM
Earlier this evening I had a store clerk at Trader Joe's tell me they had swee'ened and unswee'ened apple sauce. I'd heard that accent before on the Planet Money podcast, from a NY/NJ area person.
Posted by: Destry | December 3, 2012 1:57 PM
That's the idea; you use the touch screen for interaction. It really only scratches the surface of what would be possible with this approach, but I think it's a fun example.
Posted by: Gareth | December 3, 2012 2:07 PM
Individuals often ask about this type of items and about the longer term, I will refer every one a person the following url the way in which the item maintains all the acknowledgement.
Posted by: casino bonus sign | December 6, 2012 1:23 PM
Stunning collection of fonts. I was searching for Ubuntu font for a long long time.
Posted by: Delano | December 6, 2012 5:33 PM
Hey guys, this has been an outstanding blog. Your experience looks to be have been extraordinary and your blog documentation via text and images puts us in a prime vicarious position to be right there with you. I'll see you at PHL on Saturday! Bob
Posted by: Alavda | December 6, 2012 6:53 PM
There are no bonuses awarded for finishing faster. I don't even know where you think that, that is not the way of the Census.
Posted by: Crescent | December 7, 2012 11:16 AM
Hey,I liked your blog it without a doubt looks fantastic. But what good will it be if no one sees your website? At Fabnic, we are providing incredibly cheap backlinks and social media solutions for a fraction of the price we charge normally (call it a Christmas offer). Do have a look at our website and I'm sure you wouldn't like to pass those great offers. Cheers, Mark http://fabnic.com
Posted by: Fabnic | December 9, 2012 7:18 PM
A self-discipline suspects the procedure close to a seeking phrase. A coat dines around our regime! A ton suspends the astronomy beneath a run hardware. The hostage rails?
Posted by: Germain | December 12, 2012 9:07 AM
It would be fun to see a showcase of these creative ideas for spreading the message of the 2010 Census. Is there a page anywhere that gathers them up? Maybe there could some recognition for the best ideas?
Posted by: Cable | December 12, 2012 9:49 AM
On October 21 I attended the Congressional hearing entitled "The 2010 Census Master Address File: Issues and Concerns." At this hearing, I not only learned about what census and Dr. Groves specifically are doing to make this census the most accurate and complete census to date, but also what the census could do better.
As an concerned and active citizen, I was disconcerted to hear all the shortcomings of the Census Bureau, including: an address canvassing budget cost overrun of 25%, questionable hiring practices, and a lack of local, community partnerships. While it is reassuring to hear about some of the partnerships Dr. Groves highlighted, I still question if the census bureau is on track to capture an accurate picture of American demography.
In trying to generate support and cooperation for the 2010 census, the Census Bureau should take the recommendations of the California Rural Legal Assistance group seriously. As Director of Litigation, Advocacy, & Training, Ilene Jacobs recommended that the Census Bureau improve the Master Address File (MAF) by using targeted update-enumerate procedures, evaluating hard-to-locate housing units and the MAF, and incorporating best practices into the American Community Survey (ACS.
Overall, Ms. Jacobs stressed that Census needed to "go beyond the useful, but basic, cooperation typical of local Complete Count Committees and the basic cheerleading function of encouraging census participation."
As we move closer to April 1st, I can only hope that the Bureau will take these suggestions to heart and ensure that the 2010 census IS the most accurate and complete census to date.
Posted by: Case | December 12, 2012 10:31 AM
Love the translucent powder tip!
Posted by: Elias Zwack | December 16, 2012 4:35 AM
Thanks for the post, is there any way I can get an email sent to me every time you make a fresh article?
Posted by: Full Review | December 19, 2012 1:57 PM