Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Terminal Jockey's Toolbelt (packetlost.dev)
12 points by packetlost on Aug 6, 2020 | hide | past | favorite | 10 comments


entr actually looks super useful, thanks!


entr is a critical part of my workflow these days. I have set up an alias `w` which watches a specific file and I have set vim to touch that file every time I save. This works for basically all projects with no setup.

Example `w cargo test` runs my tests on save. `w systemctl reload nginx` when I am trying out changes to `nginx.conf`, `w gitlab-runner exec docker build` or `w d eval 'cargo build --release && time target/release/solve' games/micheal-fogleman.txt` to build and benchmark my program on every save.

It is incredibly simple and useful for just about anything.


Great tool. I heard about it from Julia Evans a few weeks ago, and it replaced my janky half-baked script that used inotifywait


yes i love entr!


Author of the post here, let me know if there's any feedback or suggestions for new tools!


Since you mentioned fd, you should check out ripgrep as an alternative to ag


It's been added to the "honorable mentions" section, as I do not use it myself.


the_silver_searcher (`ag(1)`) is covered and is pretty similar to ripgrep in functionality.


Yes, I was highlighting it as an ag alternative that I commonly see recommended alongside fd


htop may be the original enhanced unix tool.

micro is an editor with sane keybindings.

An alias with inotifywait is what I use to watch the filesystem.

ddccontrol and sysfs can change brightness of monitors.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: