3 ms·
I'm slightly embarrassed that in terms of building personally relevant things, my proudest (digital) work is always shell scripts I use daily. Most of my person
by parentheses 3y ago
I'm slightly embarrassed that in terms of building personally relevant things, my proudest (digital) work is always shell scripts I use daily. Most of my personal projects are non-technical meat-space things like building with wood and the like. Here's some that I've open-sourced:
- A git interface using fzf that works pretty nicely and is very composable. https://github.com/bigH/git-fuzzy https://github.com/bigH/git-fuzzy
- An interactive evaluator, perfect for interactive `sed`, `grep`, `jq`, etc. If properly configured, it'll keep history per command or using whatever key you give it. I find myself using it often with `jq`. https://github.com/bigH/interactively https://github.com/bigH/interactively
There are many other shell functions/scripts that are interesting from my `dotfiles`. Particularly interesting snippets for anyone who wants them:
- A recursize `which` that follows symlinks and stops at a real file. https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504cb9aa5893062681c16/functions/core.sh#L104-L137 https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504...
- A `watch` alternative that runs in the current shell. https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504cb9aa5893062681c16/functions/core.sh#L186-L312 https://github.com/bigH/dotfiles/blob/3d48792b4e910d2fc82504...
- seanw444 3y agoYou accomplish things in real non-computer life? Nerd. For the downvoters, that's what we call a "joke". I appreciate when I hear from not-terminally-online people on here.
- parentheses 3y agoUpvoted ;)
- alin23 3y agoI’m a long time user of git-fuzzy, thank you for that! I am also grateful to hear about “interactively”, I always had to write some kind of half baked implementation, it’s great to finally have a defacto solution.
- toddyamakawa 3y agoWhat kind of work do you do? Does your day job involve writing shell scripts? Or is that something you do on the side?
- mjbamford 3y agoI've just discovered git-fuzzy - it's fantastic! I missed its announcement on Hacker News some 3 years ago. Thanks for highlighting it in this thread!