Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
gose
14y ago
Same here. Here's the script for a git-aware bash prompt if anyone else is interested. function parse_git_dirty { [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" }
2.
▲
by
gose
15y ago
Here's Mac OS X's: http://www.opensource.apple.com/source/shell_cmds/shell_cmds... It's close to the FreeBSD implementation.
3.
▲
by
gose
15y ago
Reminds me of this quote from Simon Sinek: "People don't buy what you do, they buy why you do it." He uses Apple quite a bit in his analogy here: http://www.ted.com/talks/simon_sinek_how_great_leaders_inspi...