VibeHunt
Back to browse

PathPicker

After parsing the output from a command, PathPicker presents you with a nice UI to select which files you're interested in.

PathPicker reads lines from standard input, extracts any substrings that resemble file paths, and then shows those candidates in an interactive selector UI. After the user picks one or more entries, the tool can either open the files in the editor defined by $EDITOR or run an arbitrary command with the selected paths, supporting a $F token for placement inside the command. It works with any command that emits file‑related output, such as version‑control status, grep, find, or diff, and can be invoked simply by piping into the `fpp` command.

The utility is implemented as a small Bash wrapper that forwards input to a Python parser using regular‑expression heuristics, making it shell‑agnostic while offering the best experience in Bash and Zsh. It filters out non‑existent files by default, with an option to disable this check for cases like deleted files shown by `git status`. The core functionality is stable and available as a command‑line tool.

Installation can be performed via Homebrew, Debian packages, Arch AUR, or manual cloning and linking of the script. An optional tmux plugin adds a shortcut to invoke PathPicker on the most recent stdout, streamlining workflow integration.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps