fd
cheat
Our great sponsors
fd | cheat | |
---|---|---|
172 | 32 | |
31,495 | 11,909 | |
- | 2.4% | |
8.8 | 5.4 | |
4 days ago | 6 days ago | |
Rust | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fd
-
Level Up Your Dev Workflow: Conquer Web Development with a Blazing Fast Neovim Setup (Part 1)
ripgrep: A super-fast file searcher. You can install it using your system's package manager (e.g., brew install ripgrep on macOS). fd: Another blazing-fast file finder. Installation instructions can be found here: https://github.com/sharkdp/fd
-
Hyperfine: A command-line benchmarking tool
hyperfine is such a great tool that it's one of the first I reach for when doing any sort of benchmarking.
I encourage anyone who's tried hyperfine and enjoyed it to also look at sharkdp's other utilities, they're all amazing in their own right with fd[1] being the one that perhaps get the most daily use for me and has totally replaced my use of find(1).
-
Z – Jump Around
You call it with `n` and get an interactive fuzzy search for your directories. If you do `n ` instead, it’ll start the find with `` already filled in (and if there’s only one match, jump to it directly). The `ls` is optional but I find that I like having the contents visible as soon as I change a directory.
I’m also including iCloud Drive but excluding the Library directory as that is too noisy. I have a separate `nl` function which searches just inside `~/Library` for when I need it, as well as other specialised `n` functions that search inside specific places that I need a lot.
-
Unix as IDE: Introduction (2012)
Many (most?) of them have been overhauled with success. For find there is fd[1]. There's batcat, exa (ls), ripgrep, fzf, atuin (history), delta (diff) and many more.
Most are both backwards compatible and fresh and friendly. Your hardwon muscle memory still of good use. But there's sane flags and defaults too. It's faster, more colorful (if you wish), better integration with another (e.g. exa/eza or aware of git modifications). And, in my case, often features I never knew I needed (atuin sync!, ripgrep using gitignore).
- Tell HN: My Favorite Tools
-
Potencializando Sua Experiência no Linux: Conheça as Ferramentas em Rust para um Desenvolvimento Eficiente
Descubra mais sobre o fd em: https://github.com/sharkdp/fd
-
Making Hard Things Easy
AFAIK there is a find replacement with sane defaults: https://github.com/sharkdp/fd , a lot of people I know love it.
However, I already have this in my muscle memory:
-
🐚🦀Comandos shell reescritos em Rust
fd
-
Oils 0.17.0 – YSH Is Becoming Real
> without zsh globs I have to remember find syntax
My "solution" to this is using https://github.com/sharkdp/fd (even when in zsh and having glob support). I'm not sure if using a tool that's not present by default would be suitable for your use cases, but if you're considering alternate shells, I suspect you might be
-
Bfs 3.0: The Fastest Find Yet
Nice to see other alternatives to find. I personally use fd (https://github.com/sharkdp/fd) a lot, as I find the UX much better. There is one thing that I think could be better, around the difference between "wanting to list all files that follow a certain pattern" and "wanting to find one or a few specific files". Technically, those are the same, but an issue I'll often run into is wanting to search something in dotfiles (for example the Go tools), use the unrestricted mode, and it'll find the few files I'm looking for, alongside hundreds of files coming from some cache/backup directory somewhere. This happens even more with rg, as it'll look through the files contents.
I'm not sure if this is me not using the tool how I should, me not using Linux how I should, me using the wrong tool for this job, something missing from the tool or something else entirely. I wonder if other people have this similar "double usage issue", and I'm interested in ways to avoid it.
cheat
-
Should you add screenshots to documentation?
Looks like bro pages is archived and they recommend https://github.com/tldr-pages/tldr or https://github.com/cheat/cheat
-
Was looking at the GitHub page for eg and found this gem
I tried eg and tldr, but I preferred cheat. Why, and why not. Cheat not only have nice examples, but let you improve them or create yours. I use the cli, not the curl.
-
This sub turned me onto Raycast, but... No syncing of settings / keyboard shortcuts between machines??
Hey, the app I recommend shows you all the commands you need per app not just for macOS! Support for programming languages? Download this. For git, docker and neovim download this one.
-
Aid needed
cheat is also a useful one. Shows you a cheat sheet for the command you search.
-
how to enable cheat autocompletion in zsh
are you sure autocompletion isn't enabled for cheat? You're maybe hitting this bug upstream.
-
What is a good way to learn bash scripting
Find something to automate or make easier and write a script for it. If you get stuck on a detail, read the man pages of the command you're using (man pages confuse you? try tldr or cheat). Then google it, there's a shitton of SO Q&A on bash. If you can't find it, find a bash channel on irc or discord and ask (they'll expect you've read the FAQ though). Keep notes. I wrote a script to read and edit notes for bash, in bash, and it taught me new things!
-
Do you ever use cheat sheets at work?
Definitely do. I created my own doc site using docusaurus where i stored a lot of info i use every once in a while. Things i use more often are available as aliases in the shell or zsh functions. There's also the handy dandy cli https://github.com/cheat/cheat that contains a lot of cheat sheets for common binaries.
-
Why can't I hold all these syntaxes?
cheat and howdoi
- Ask HN: Terminal Cheatsheets
-
My thoughts after a week of ChatGPT usage
As a dev - It's a good (very good, in fact) alternative for man, tldr, cheat and zeal (and probably tens of other projects - sorry for not mentioning you) with a very pleasant interface - which was the point I think ;)
What are some alternatives?
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
tldr - 📚 Collaborative cheatsheets for console commands
ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore
cheat.sh - the only cheat sheet you need
fzf - :cherry_blossom: A command-line fuzzy finder
tealdeer - A very fast implementation of tldr in Rust.
exa - A modern replacement for ‘ls’.
tldr - Haskell tldr client
skim - Fuzzy Finder in rust!
pywal - 🎨 Generate and change color-schemes on the fly.
vim-grepper - :space_invader: Helps you win at grep.
howdoi - instant coding answers via the command line