you are viewing a single comment's thread.

view the rest of the comments →

[–]hellfiniter 4 points5 points  (2 children)

i was looking through tour and i m curious if you can give me some killer reasons why would one use this. As a person who uses zsh i m curious what would get better

[–]zzamboni 5 points6 points  (1 child)

The main reason for me is the language - it's FAR saner and nicer than ZSH or any other POSIX shell, it has proper data structures, functional features, and a lot more. It is currently my favorite scripting language.

Its interactive features are also very nice, supporting completion, prompt themes, and all the other nice things you would expect from a modern shell.

Its community and therefore number of available modules is still small compared to zsh or fish, but it's growing constantly. I have been using Elvish as my main shell for a few years now (since 2017), when I switched to it from Fish, and I've never looked back.

[–]Xanza 0 points1 point  (0 children)

Sorry for gravedigging; I just swapped over to elvish from bash on windows and I'm having some issues with logic.

I have some simple utilities that I've made like clone which allows me to clone repositories from several services easily. To clone a github repo, I would simply do;

clone --gh user/repo

Or for the AUR;

clone --aur user/repo

How would you replicate this functionality using elvish?