|
|
|
|
|
by jugjug
1956 days ago
|
|
I love fzf as well. I use it with the npm package manager to select the script to run (we have an app with 20+ scripts): npmrf () {
local script
script=$(cat package.json | jq -r '.scripts | keys[] ' | sort | fzf) && npm run $script
}
Another usecase is tracking hours with Clockify. I was frustrated opening up the web everytime, so I wrote a script using fzf, httpie and jq. Love it now. [1][1]: https://marcel.is/tracking-hours/ |
|