A command-line tool that parses bash output, presents a UI to select files, and lets you open them or run commands.
PathPicker is a command-line tool that parses output from commands like git, grep, or find, extracts filenames, and presents an interactive UI for selection. It solves the problem of manually picking files from bash output by allowing users to visually select files and then open them in an editor or run custom commands.
Developers and system administrators who frequently work in the terminal and need to efficiently select files from command output for editing or batch operations.
It saves time by automating file selection from noisy command output, supports a wide range of input sources, and integrates seamlessly into existing shell workflows without complex setup.
PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses regex patterns to extract filenames from any command output, making it work with diverse tools like git, grep, and find without specialized parsers, as highlighted in the README's philosophy.
Provides a curses-based UI that allows users to visually select files from parsed input, enhancing usability over manual parsing, as demonstrated in the demos.
Automatically opens selected files in the user's configured $EDITOR, streamlining the editing workflow directly from the terminal, a core feature mentioned in the README.
Supports running arbitrary commands on selected files with token replacement (e.g., $F), enabling batch operations like git checkout or custom scripts, as shown in the advanced functionality examples.
As admitted in the README, files that are single words with no extension or without directory prepend may fail to match, leading to missed selections in edge cases despite regex extraction.
Best supported on Bash; ZSH lacks features like alias expansion, and other shells (csh/fish/rc) may have quirks, requiring manual $SHELL environment variable setup, per the requirements section.
For systems without Homebrew, installation involves cloning the repo and creating symbolic links, which can be less user-friendly and error-prone compared to package managers, as noted in the manual installation steps.