bkt
zoxide
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.
bkt
-
Tip: slow fzf --preview commands can be cached using bkt to make the preview more responsive
Hi, author of bkt here. I use fzf all the time and combine it with bkt to make --preview faster. I hope you find this pattern useful!
-
Passing a command with double quotes to a function
Alternatively, check out bkt (also mine), which is like bash-cache but for subprocesses instead of shell functions.
-
New release of bkt, a subprocess caching utility
Instead, using bkt ensures each request is only sent once and all subsequent calls return locally cached results:
Enjoy! If you find it useful please let me know how you're using it!
-
Escaping (?)
Honestly, any reasonably complex bash script uses (or should be using!) arrays, so just poke around and you'll probably see them. Here's a fairly straightforward script of mine with several arrays: https://github.com/dimo414/bkt/blob/master/benchmark.sh
- Bkt: A subprocess caching utility written in Rust
-
bkt: easily cache the output of command line programs
Glad to hear it! I hope you find it helpful :) If you have a few minutes please share how you're using bkt, it'll help me and others!
- My first Rust project: a caching utility for subprocesses - would appreciate any feedback
zoxide
- Say good bye to cd and hello Zoxide - the better and smarter cd command
-
You might want to replace cd command with Zoxide 🎉 — a smarter and trainable cd alternative 🗂️
Head over to ajeetdsouza/zoxide and install it now! It's innovative, free, and flexible!
- A smarter CD command. Supports all major shells
-
Z – Jump Around
I use this Rust clone which works great, no complaints: https://github.com/ajeetdsouza/zoxide
Although, I don't know what the difference is, other than the language of choice.
-
Cdpath: Easily Navigate Directories in the Terminal
I use https://github.com/ajeetdsouza/zoxide, which is inspired by z and autojump.
-
Ask HN: Share a shell script you like
Zoxide is basically the 'Rust Rewrite' version of the 'Z' tool and is actively maintained, I haven't had any issues with it: https://github.com/ajeetdsouza/zoxide
-
env::set_current_dir() -- is either not functioning as intended or I'm just messing something up
Indeed, utilities like zoxide which operate primarily as a cd replacement don't attempt to change directories via rust code - they create a shell alias that ultimately invokes a shell builtin to do it.
-
Everything I Installed on My New Mac
I also still use zoxide for navigating directories. It's a smarter cd command that learns your habits and makes navigating directories a breeze.
-
Top Productivity CLI Tools I Use on Linux
4. Zoxide
-
How to achieve the function of the Mac app Hookmark in the terminal?
Not sure what you mean by bookmarks, but I use zoxide to quickly jump to frequently used folders.
What are some alternatives?
comemo - Incremental computation through constrained memoization.
autojump - A cd command that learns - easily navigate directories from the command line
bash-cache - Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.
z - z - jump around
cached - Rust cache structures and easy function memoization
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
navi - An interactive cheatsheet tool for the command-line
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
ctrlg - A command line context switcher, written in Rust :crab:
z.lua - :zap: A new cd command that helps you navigate faster by learning your habits.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
fzf - :cherry_blossom: A command-line fuzzy finder