4 ms·
You think your prompt is too fast? Just add some HN style to it: PS1="\$(curl -fsL https://news.ycombinator.com/user?id=USERNAME | awk 'x==1 {print \$1; x=0}
by arendtio 5y ago
You think your prompt is too fast? Just add some HN style to it:
PS1="\$(curl -fsL https://news.ycombinator.com/user?id=USERNAME | awk 'x==1 {print \$1; x=0}; /karma/{x=1};') $PS1"
Replace USERNAME with your HN nick and always have your karma at your fingertips ;-)
PS: This is a really bad idea...