« links for 2009-06-20 | Main | links for 2009-06-21 »


在 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

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..

Some people will never learn anything, for this reason, because they understand everything too soon.

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.)

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.

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!

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.

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

Simply wanna say that this is extremely helpful, Thanks for taking your time to write this.

Your place is valueble for me. Thanks!…

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!

Where does PCUSA get its financial support? Petro$ perhaps? Who knows!

yeah but still Pinterest is growing at a fast rate that as well in such a small time..

Have you thought about putting some social bookmarking buttons to these blog posts. At least for google.

Are you sure you are an professional on money exchange rate? * http://www.directorymod.info/index.php?q=wccforex.com

This is a excellent web page, would you be interested in doing an interview about how you created it? If so e-mail me!

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.

FOREX SCAMS demo forex trading FREE FOREX SOFTWARE http://statusnet.pcherstellen.nl/index.php/notice/85427

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.

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.

Wo du bloß immer diese Tatsachen her hast. Vielen dank, gut berichtet.

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?

Camera, Photo & Video Store: Low Price & Super Save Shipping

hi presently there, your site is absolutely great. I do thank you for get the job done

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

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.

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.

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?

I've recently started a site, the info you offer on this website has helped me greatly. Thanks for all of your time & work.

i love baby items and i love to give baby gifts to be able to my baby along with the my sister's child,,

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.

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

I'd be terrified of falling, but nevertheless gorgeous!

Don't fear, Zombie Romney will just reboot the campaign, and run on a platform of decapitating the poor and taking in their brains.

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?

When should I expect my first letter?

Would love to always get updated excellent website ! .

I think your blog is pretty great, i found it from a good friend of mine from USA

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?

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.

While searching Yahoo I discovered this page in the results and I didn't think it fit

Makes me feel all warm and fuzzy inside just pondering about it :)

Did you code|design|make this blog|site|website|page yourself? It looks great|awesome|good. I’ll be back!

Please switch your TV off, stop eating foods with genetically-modified ingredients, and most of all PLEASE stop drinking tap water (Sodium Fluoride)

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?

pretty practical material, overall I consider this is well worth a bookmark, thanks

Music commenced taking part in when I opened this kind of webpage, so frustrating!

I am constantly thought about this, thanks for putting up.

I was reading the news and I saw this really interesting info

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.

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?

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.

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.

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

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.

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.

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.

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.

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

Have you thought about introducing some social bookmarking buttons to these blog posts. At least for twitter.

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.

EaKain Scalper PRO 2012. Did you see it? EA Kain makes money in every market conditions.

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.

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.

hey blogmeister! Tolle Heimseite hast du hier! Hat nicht jedermann!

Nice thoughtfull post you wrote, I just need to say thanks for sharing it with me.

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?

I bet what happened was, they discovered fire and invented the wheel on the same day. Then, that night, they burned the wheel.

when i was a kid, i adore to receive an assortment of birthday presents like teddy bears and mechanical toys,

How do you make this blog site look this awesome! Email me if you get the chance and share your wisdom. !

You Finally want the respect off your family and pals?

You Finally want the respect off your family and friends?

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.

Have you considered about including some social bookmarking buttons to these blog posts. At least for facebook.

I?m certain you can find a lot of added nice instances in the long term for individuals who study your web site.

Hi, this is a Nice post. I love this content, I have liked it on FB.

Very good article! We are linking to this great post on our site. Keep up the good writing.

Hello.This post was extremely fascinating, particularly since I was looking for thoughts on this topic last week.

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..

You've got some real insight into the things you write about. Do you nonetheless feel this way?

james lafferty bio biography

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.

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

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.

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.

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.

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.

Posts are so informative where we get lots of information on any topic. Nice job keep it up

I think so this may have been the least accurate Census ever!

I would like to know if Vacant Housing appears in the TIGER file and whether this can be displayed using Google maps...
Thank you.

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?

I HAVE to have a little mascara!

You are my inspiration , I have few blogs and often run out from to post .

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.

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.

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.

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.

Stunning collection of fonts. I was searching for Ubuntu font for a long long time.

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

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.

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

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?

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?

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.

Love the translucent powder tip!

Thanks for the post, is there any way I can get an email sent to me every time you make a fresh article?

Post a comment