gratitude

2023-08-31T13:58:35.999929Z

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
m.q.warnock 2023-09-28T20:57:06.158659Z

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

3
borkdude 2023-09-28T20:58:42.732979Z

now we want a screenshot :)

m.q.warnock 2023-09-28T21:02:29.691599Z

❀️ 1
🌈 3
Samuel Ludwig 2023-09-28T21:04:59.560909Z

ohhhhhhhhhh that is soliddd

Samuel Ludwig 2023-09-28T21:12:48.723869Z

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

2023-09-28T21:13:41.468899Z

@michael403 is the πŸ’© node? Lol

2023-09-28T21:13:59.357309Z

Looks great!

m.q.warnock 2023-09-28T21:14:18.294219Z

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
Samuel Ludwig 2023-08-31T14:05:04.399719Z

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 πŸ˜…

Chip 2023-08-31T14:28:28.782349Z

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

❀️ 1
2023-08-31T14:46:11.217809Z

@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
Samuel Ludwig 2023-08-31T14:46:34.642199Z

nice sickkk :^)

emccue 2023-08-31T20:02:35.538489Z

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

zane 2023-08-31T20:02:58.873979Z

https://starship.rs/

2023-08-31T22:50:51.797169Z

@sludwig.dev don't get too excited, it's not that fancy πŸ˜„ https://github.com/jbullers/starship_configs

2023-08-31T22:52:48.321839Z

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

zane 2023-08-31T23:03:16.030899Z

Okay, but that Clojure icon is pretty cute.

zane 2023-08-31T23:03:28.242249Z

Is that coming from All the Icons?

Samuel Ludwig 2023-08-31T23:04:03.947269Z

Love the nord colorscheme always ❀️

πŸ‘ 1
2023-08-31T23:05:59.242669Z

@zane I found the icon by searching "clojure" on https://www.nerdfonts.com/cheat-sheet

2023-08-31T23:06:53.393219Z

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

πŸ‘πŸ» 1
zane 2023-08-31T23:07:18.521689Z

I see! Thanks!

πŸ‘ 1
m.q.warnock 2023-10-01T17:02:33.193799Z

https://github.com/momerath42/dotfiles

1
πŸ”₯ 1