command

    The jq command line tool is a useful way to query, filter, and reformat JSON files. I use it every day at work. It’s great. However, replacing a jq command having a beefy select() clause with a simple call to rg cut a script’s runtime from 79 seconds to 6.

    Choose the right tool for the job.

    New favorite command: Zoxide

    My favorite new command is zoxide. It’s like a faster z, autojump, or fasd.

    In summary, it learns which directories you visit often with your shell’s cd command, then lets you jump to them based on pattern matching. In the event of a tie it picks the one you’ve used most frequently and recently. For instance, if I type z do then it executes cd "~/Library/Application Support/MultiDoge" for me because that’s the best match for “do” in recent history. An optional integration with fzf lets you interactively search your directory history before jumping to one.

    It’s lightning fast and integrates perfectly with common shells (even Fish which is my favorite).

    I didn’t even know I’d been missing a tool like this.