zoxide
z.lua
Our great sponsors
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.
zoxide
- 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.
-
Fish-like dirhistory (prevd/nextd) for Bash
I mostly use zoxide these days to do navigation. In your case instead of doing cd -3 I would simply do z baz to get to the bottom of the stack, or Alt+Left three times (with the above recipe).
-
6 Repositories recommended by GitHub to Boost Your Programming Productivity
🔗 Link
z.lua
-
Cdpath: Easily Navigate Directories in the Terminal
https://github.com/skywind3000/z.lua is quite nice and has more features, e.g. fzf integration and an interactive mode.
-
What terminal apps are you using?
Then install: - z.lua - better cd - exa - better ls - trash - rm deletes completely - trash moves files to trash, so you can recover them - massren - absolutely the best file/folder renamer (especially for devs) - tldr - better than man
- A statically typed scripting language that transpiles to Posix sh
-
Which file manager do you use and why?
Me too. I like it customizability and flexibility. It's even better when combined with the ranger-plugin that come z.lua, which I have bound to cj (I used auto-jump before this, which used that binding as well).
wget https://github.com/skywind3000/z.lua/raw/master/ranger_zlua.pyi && chmod +x ~/.config/ranger/plugins/ranger_zlua.py
-
Better version of cd?
z.lua
-
6 Command Line Tools for Productive Programmers
I personally use z.lua, but if you're a Rust fan there's also zoxide. Both are multi-platform and highly configurable.
-
Is there something like z available for git?
With z you can CD into a directory like ~/Documents/Foo/Bar/Baz by executing z baz.
-
What is your cd system?
I used to keep some directory bookmarks with apparix, but nowadays I just use z.lua.
-
A new zsh plugin for finding z abbreviations
Currently zabb mainly supports the zoxide implementation of z. It works ok with z.lua, fasd and z, but may not find the shortest abbreviations for those. It may work for other implementations if they support the z -e command. I welcome PRs to expand zabb to other implementations.
What are some alternatives?
autojump - A cd command that learns - easily navigate directories from the command line
z - z - jump around
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
fasd - Command-line productivity booster, offers quick access to files and directories, inspired by autojump, z and v.
fzf - :cherry_blossom: A command-line fuzzy finder
broot - A new way to see and navigate directory trees : https://dystroy.org/broot
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
autojump-rs - A fast drop-in replacement of autojump written in Rust
nushell - A new type of shell
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
exa - A modern replacement for ‘ls’.