In the z readme, after line 50, it says:

Installation:

Put something like this in your $HOME/.bashrc or $HOME/.zshrc:

. /path/to/z.sh

cd around for a while to build up the db.

You need to download the z.sh file to a directory of your choosing, then tell your .bashrc where it is, so your terminal can find it. (The same applies for z-shell, which is just another shell system.) Then, after you use bash for a while, z will know your favorite locations.

Answer from Travis G. on askubuntu.com
🌐
GitHub
github.com › rupa › z
GitHub - rupa/z: z - jump around · GitHub
OPTIONS -c restrict matches to ... Put something like this in your $HOME/.bashrc or $HOME/.zshrc: . /path/to/z.sh cd around for a while to build up the db....
Starred by 17K users
Forked by 1.2K users
Languages   Shell 64.6% | Roff 35.0% | Makefile 0.4%
Discussions

Z - Jump to directories that you actually use.
Thanks a million! :D · I don't maintain $CDPATH myself, my profile runs a one liner that descends into certain directories and constructs $CDPATH for me within the constrains of some rules (for example excludes leafs, excludes {bin,doc,pkg,test}, etc) More on news.ycombinator.com
🌐 news.ycombinator.com
32
101
September 3, 2012
Z – Jump around
Eventually I came up with an alternative using fd¹ and fzf². I have a variant of this in my .zshrc: · function n { cd "$(fd . "${HOME}" --type d --color never | fzf --select-1 --query "${*}")" ls } Call it with `n` and get an interactive fuzzy search for your directories. More on news.ycombinator.com
🌐 news.ycombinator.com
75
139
January 20, 2024
What cd tool do you use, if any (Autojump, j, z, etc)?

I use cd. And on a rare occasion pushd and popd.

More on reddit.com
🌐 r/commandline
27
17
July 29, 2016
Z, Autojump or Fasd?
fzf-z is what I've been using and I recommend. fuzzy matching makes browsing the search results a breeze. More on reddit.com
🌐 r/commandline
21
15
August 4, 2018
🌐
GitHub
github.com › agkozak › zsh-z
GitHub - agkozak/zsh-z: Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features. · GitHub
Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features. - agkozak/zsh-z
Starred by 2.4K users
Forked by 79 users
Languages   Shell
🌐
Caleb Burks
calebburks.com › home › jump around your filesystem in the terminal
Jump around your filesystem in the terminal - Caleb Burks
April 8, 2019 - Quickly navigate your filesystem from the command line using Z. Learn how to install and begin using this time-saving utility.
🌐
Facilecode
facilecode.com › how-to-setup-z-jump-around
Client Challenge
September 22, 2021 - JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
LinuxLinks
linuxlinks.com › home › z – jump around the filesystem
z - jump around the filesystem - LinuxLinks
October 14, 2023 - z is a shell script that maintains a jump-list of the directories you actually use. It tracks your most used directories, based on 'frecency'.
Find elsewhere
🌐
oorkan
oorkan.dev › blog › linux › make-your-life-easier-with-z-script
Make Your Life Easier With Z Script | oorkan
September 26, 2020 - # Copyright (c) 2009 rupa deadwyler. Licensed under the WTFPL license, Version 2 # maintains a jump-list of the directories you actually use # # INSTALL: # * put something like this in your .bashrc/.zshrc: # . /path/to/z.sh # * cd around for a while to build up the db # * PROFIT!!
🌐
YouTube
youtube.com › watch
Using z to jump to "frecent" folders - Command Line Power User (10/11) - YouTube
Are you using z? Greatly speed up your file system traversal and say goodbye to finder. Get the whole Command Line Power User series free at http://CommandLi...
Published   April 9, 2015
🌐
Homebrew
formulae.brew.sh › formula › z
Homebrew Formulae: z
Bottle (binary package) installation support provided.
🌐
@samwize
samwize.com › 2014 › 01 › 20 › install-rupa-z-to-replace-your-command-line-cd
Install Rupa z to replace your command line CD | @samwize
January 20, 2014 - Since I installed oh-my-zsh, I can install it easily be editing the ~/.zshrc. Simply add z as a plugin. Here’s mine plugins: ... It takes some time for z to learn your directories. So you will need regular cd before you can z around. Suppose you have a project directory at ~/Workspace/no...
🌐
Hacker News
news.ycombinator.com › item
Z - Jump to directories that you actually use. | Hacker News
September 3, 2012 - Thanks a million! :D · I don't maintain $CDPATH myself, my profile runs a one liner that descends into certain directories and constructs $CDPATH for me within the constrains of some rules (for example excludes leafs, excludes {bin,doc,pkg,test}, etc)
🌐
Hacker News
news.ycombinator.com › item
Z – Jump around | Hacker News
January 20, 2024 - Eventually I came up with an alternative using fd¹ and fzf². I have a variant of this in my .zshrc: · function n { cd "$(fd . "${HOME}" --type d --color never | fzf --select-1 --query "${*}")" ls } Call it with `n` and get an interactive fuzzy search for your directories.
🌐
GitHub
github.com › rupa › z › wiki
Home · rupa/z Wiki · GitHub
Source it into your .bashrc, and then you can say z foo to jump to the most used directory that has the substring (actually regex) foo in it, or z foo bar for the directory that has both foo and bar …
Author   rupa
🌐
Ehmiiz
ehmiiz.se › blog › ps_z_mod
Using the PowerShell Module Z to Save Time in the Terminal | all posts
March 17, 2023 - Once you have Z installed, you can start configuring it by jumping around your terminal to different places. To do this, simply navigate to a directory that you frequently visit and then run z followed by a space and then part of the directory name.
🌐
GitHub
github.com › johannjhang › fz.sh
GitHub - johannjhang/fz.sh: Cli shell plugin, the missing fuzzy tab completion feature for the z jump around command. · GitHub
A shell plugin that seamlessly ... easy to jump around among your historical directories. Not any additional key binding is needed. Currently supports Bash and zsh. ... By simply sourcing corresponding script file for your shell, you're all set. However, this plugin is sitting on top of z and fzf, so you must have them installed as ...
Starred by 573 users
Forked by 29 users
Languages   Shell
🌐
Package Control
packagecontrol.io › packages › Z
Z - Packages - Package Control
Type Package Control: Install Package and press enter. Then search for Z. Clone this repo as Z into Sublime Text's Packages directory. (Preferences > Browse packages…) ... z tracks the directories you visit. With a combination of frequency and recency, it enables you to jump to the directory ...
🌐
Scott Hanselman's Blog
hanselman.com › blog › spend-less-time-cding-around-directories-with-the-powershell-z-shortcut
Spend less time CD'ing around directories with the PowerShell Z shortcut - Scott Hanselman's Blog
September 23, 2017 - Install-Module -Name z -Scope CurrentUser; echo "Import-Module z" > $env:USERPROFILE\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 ... Great tip indeed, thanks for that.