
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
z_rs implements a directory jumping command line utility
The original is a 200 line shell classic https://github.com/rupa/z/blob/master/z.sh
This is an opinionated rewrite instead of being 1:1
with the original. Most notably, this does not override
cd
in any way, and needs to be used instead of cd
to
build the cache.
This provides a z_rs
binary, which can be invoked
for configuration and lookup.
cargo install z-rs
add
eval "$(z_rs init --cmd z --cache $HOME/.z_rs)"
in your shell configuration file.
The --cmd
option is the name of the command that will
be added to the shell. For example, in this case, a z
command will be created.
If configured with the command name z
, then simply do
z foo bar
will try to match foo
and bar
and if a match is found
in the cache, will cd
to it, otherwise error out.
Matches occur based on "frecency". The rank of a path is how many times it has been accessed. The command will return the highest ranked matching record. If there are multiple, it will return the most recently accessed one.
This project is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.
FAQs
Unknown package
We found that z-rs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.