Hacker News new | ask | show | jobs
by baobun 416 days ago
Anyone here using elvish on the regular? Anecdotes please!
1 comments

I don't use Elvish daily (I use fish) but writing scripts in Elvish is a great experience. The elvish executable can serve as an LSP server and that makes writing Elvish scripts a bit easier.

I don't care much for the Elvish shell experience, rather I like the Elvish scripting language. The documentation is top notch and the language evolves slowly and feels stable.

> I don't care much for the Elvish shell experience, rather I like the Elvish scripting language.

It's a shell, aren't those two things supposed to be the same basically? Or - do you mean the interaction with the terminal/command-line?

The shell prompt is also a small interface. How your shell responds to tab autocomplete, provides suggestions etc. can be quite helpful. Here I just like the way fish suggests filenames, provides an underline for filenames that exist and so on.

The language is what you write in an $EDITOR. Here Elvish scripts can be nice, succinct and powerful. I like how I don't have to worry about strange "bashisms" like argument quoting etc. Everything feels consistent.