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. Facebook PathPicker is a simple command line tool that solves the perpetual problem of selecting files out of bash output. Bash is fully supported and works the best. ZSH is supported as well, but won't have a few features like alias expansion in command line mode. csh/fish/rc are supported in the latest version, but might have quirks or issues in older versions of PathPicker. Note: if your default shell and current shell is not in the same family (bash/zsh... v.s. fish/rc), you need to manually export environment variable $SHELL to your current shell.

Features

  • Parse all incoming lines for entries that look like files
  • Present the piped input in a convenient selector UI
  • Edit the selected files in your favorite $EDITOR
  • Execute an arbitrary command with them
  • PathPicker allows you to also execute arbitrary commands
  • The selected files are appended to the command prefix to form the final command

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow PathPicker

PathPicker Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PathPicker!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Terminals, Python Command Line Tools, Python Grep Tool

Registered

2021-11-17