8000 GitHub - rchatrath7/npm-runzf · GitHub
[go: up one dir, main page]

Skip to content
rchatrath7Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-runzf

A zsh widget to fuzzy find npm run commands within a monorepo

Requirements

Make sure you have rust installed and also fzf

Getting setup

Build the cargo package

cargo build --release

Add it to your path via cp or symlink

ln -sf "$(pwd)/target/release/npm-runzf ~/.local/bin/  # or somewhere in your PATH

Add the zsh script

ln -sf "$(pwd)/npm-runzf.zsh" ~/.config/zsh/functions # or wherever you want the function 

Add to your ~/.zshrc

source ~/.config/zsh/functions

Usage

After npm run, press your keybind, in my case on a Mac, option+t, and the fzf menu will pop-up to fuzzy search your commands!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0