Hacker Newsnew | past | comments | ask | show | jobs | submit | more CupOfJava's commentslogin

yeah the zh in zhen is the 'j' in jewel


What's allowing the terminal to display the current git branch on the input line?

What's allowing the pretty path view instead of my ugly ascii "~/blah1/blah2$ ?


Most shells let you do some arbitrary work before/during the display of the prompt line (in Bash, you can use `PS1` and `PROMPT_COMMAND`). Some people then install special fonts that let them render these fancy “bar segment” things. [Powerline](https://github.com/powerline/powerline) is a notable package for this, but there’s a lot of simpler alternatives out there nowadays.


I used https://github.com/magicmonty/bash-git-prompt for a long time - it's a bunch of bash scripts that show git info for directories that are git repositories.

I've since switched to the fish shell (https://fishshell.com/) which has this built in.

It doesn't matter which shell you use, all the common ones have some kind of plugins or extensions for that.



The shell, likely zsh with a special prompt config


OCR has come a long way, but still has lots to improve.


This article coincidentally is an exception! A ton is the right order of magnitude:

The US Treasury says that $1 million in $100 bills weights 22 lbs[1].

The $115 million that they raised in the last few months would weigh about 2200 lbs.

[1] http://answers.google.com/answers/threadview?id=441929

edit: grammar


Epic win on the weight conversion :-)


It was only mentioned twice, and in two paragraphs in the whole article. It established the motivation for his experiment. You might draw from different motivations for trying TaskRabbit.


Wow. I played "we become what we behold" just last week. I had no idea it was the same author. I'm gonna check out the rest now too!


I don't think he read the article, just the title.


Your situation is similar. However, did you consume the candy before paying? Or maybe restaurants will ask customers to pay first if they use this.


They reference that silicon definition later on in the article.


The prices will adjust to the demand.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: