←back to thread

457 points benoitg | 1 comments | | HN request time: 0.2s | source
Show context
jamesponddotco ◴[] No.44366404[source]
I live in the terminal, so I wrote my own prompt ages ago when I started learning Go[1][2], and before that I had a simple prompt in bash.

I like to keep things very simple and fast, so the directory and the git branch is all I need. I wonder if people really use all that information or if they set it up thinking they need it, but then never do.

[1]: https://git.sr.ht/~jamesponddotco/gosh

[2]: I should probably update that now that I know a “bit” more Go.

replies(2): >>44366432 #>>44381254 #
1. touristtam ◴[] No.44381254[source]
I like the host you have that code on. That's refreshing to see a website that doesn't _require_ you to run some javascript.