Live data from Hacker News

New(ish) command line tools

jvns.ca

21–30 of 252 posts

Re: New(ish) command line tools

#22

A new fave I recently discovered - render markdown in the terminal for easy reading (and proofing): https://github.com/charmbracelet/glow

I recently found out about mdp too, a way to display markdown in the terminal as slides. https://github.com/visit1985/mdp

> I recently found out about mdp too, a way to display markdown in the terminal as slides.

> https://github.com/visit1985/mdp

I use pandoc to convert markdown to powerpoint decks, it's a great workflow as you can preview and tweak the content and then apply the firm theme before the presentation.

Re: New(ish) command line tools

#23
post #15
post #7

Couple ones there that I’m keen to try out. bat in particular seems like such an easy win

fd and ripgrep are the ones that have really stuck with me, replacing find and grep in my finger memory.

You can of course alias these commands as I have done, although coworkers hate me for it. Mind that

1. You need to be careful to avoid "works on my machine" moments

2. You need to remember that you did it in case you need to undo it.

Re: New(ish) command line tools

#25
post #16

Glad to discover fd. I've always struggled with find syntax. It's easy enough, but always kind of fiddly IME.

I mostly use zsh's globbing for this these days; the syntax can be a bit intimidating at first, but it's not that hard once you get used to it, and it's very quick and easy to type.

Bash doesn't really have any of this, so if you're a bash user you're out of luck. Don't know about fish.

Re: New(ish) command line tools

#27
Has anyone made an installer/GNU type thing for the "common" ones like delta and rg? Could be a fun weekend project:

Select what tooling you want, it will be installed using your package manager

[ ] delta

[ ] bat

...

Re: New(ish) command line tools

#30
post #3

direnv is such a godsend that I shill for it on every team and in every company now, it's such a great tool.

100% agree. It's such a versatile tool -- for example I have the following:

    git config --local core.hooksPath $PWD/.githooks
    export DOCKER_CONFIG=$(realpath secrets/docker)
Combine that with git-crypt[0] (obviously, don't commit secrets in plaintext to your repo!) for example and you have some really nice ergonomics.

Not enough people know about direnv.

[0]: https://www.agwa.name/projects/git-crypt/

Post reply on HN