gratitude 2023-08-31

Thanks @borkdude for #babashka. I use a shell prompt called Starship, and one of the cool things it can do is show you the version of, for example, Java when you are in a project directory. I wanted to add a custom prompt segment to show the Clojure version. After struggling with awk for a while, I finally figured out how to parse the project deps.edn for the Clojure version, but soon discovered it might not always be listed there and there's really three different deps.edn files to check. My heart sank because I have no idea how to do all those tests with shell scripting. And then I remembered hearing about babashka and it took all of five minutes to do the job πŸ˜„

7
7
❀️ 4

thanks a lot folks; I just wasted 2 hours making my prompt pretty πŸ˜›

3

now we want a screenshot :)

❀️ 1
🌈 3

ohhhhhhhhhh that is soliddd

@michael403 would love to get a look at your dots!

@michael403 is the πŸ’© node? Lol

I need to get some actual work done today, but I'll try to throw a repo together in the next couple days. yep; I loathe node πŸ˜›

❀️ 1
πŸ™Œ 1

ohhh i use starship too, do you have that in a repo you could link? I've actually done very little customization of it myself πŸ˜…

I’m coming late to the babashka party. Thanks @borkdude for extending Clojure’s reach. Once weaned, I doubt I’ll miss zsh.

❀️ 1

@sludwig.dev not in a repo yet, but that's probably a good idea. I'll put it somewhere and share a link here later

πŸŽ‰ 1

nice sickkk :^)

whats starship? I'm going to google it but i'm interested in "the pitch"

How my prompt looks (the theme is Nord, if you're interested):

Okay, but that Clojure icon is pretty cute.

Is that coming from All the Icons?

Love the nord colorscheme always ❀️

πŸ‘ 1

My terminal font is intellij mono, patched by nerd fonts so it handles all kinds of special characters

πŸ‘πŸ» 1

I see! Thanks!

πŸ‘ 1