|Number of watchers on Github||3706|
|Number of open issues||2|
|Average time to close an issue||9 days|
|Average time to merge a PR||1 day|
|Open pull requests||3+|
|Closed pull requests||11+|
|Last commit||over 1 year ago|
|Repo Created||about 4 years ago|
|Repo Last Updated||over 1 year ago|
|Organization / Author|
|Do you use PathPicker? Leave a review!|
|View open issues (2)|
|View PathPicker activity|
|View on github|
|Fresh, new opensource launches 🚀🚀🚀|
Trendy new open source projects in your inbox! View examples
Facebook PathPicker is a simple command line tool that solves the perpetual problem of selecting files out of bash output. PathPicker will:
After installing PathPicker, using it is as easy as piping into
fpp. It takes
a wide variety of input -- try it with all the options below:
git status | fpp
hg status | fpp
git grep "FooBar" | fpp
grep -r "FooBar" . | fpp
git diff HEAD~1 --stat | fpp
find . -iname "*.js" | fpp
arc inlines | fpp
and anything else you can dream up!
PathPicker requires Python >2.6 or >3.0.
$SHELLto your current shell.
Installing PathPicker is easiest with Homebrew for mac:
brew update(to pull down the recipe since it is new)
brew install fpp
On debian systems, installation can be done by installing the debian package from here. To build the package locally, run these steps:
$ git clone https://github.com/facebook/PathPicker.git $ cd debian $ ./package.sh $ ls ../fpp_0.7.2_noarch.deb
On Arch Linux, PathPicker can be installed from Arch User Repository (AUR). the AUR fpp-git package.
If you are on another system, or prefer manual installation, please follow the instructions given below.
However if you're on a system without Homebrew, it's still quite easy to install PathPicker since it's essentially just a bash script that calls some Python. These steps more-or-less outline the process:
cd /usr/local/ # or wherever you install apps
git clone https://github.com/facebook/PathPicker.git
Here we make a symbolic link from the bash script in the repo
/usr/local/bin/ which is assumed to be in the current
ln -s "$(pwd)/fpp" /usr/local/bin/fpp
fpp --help # should work!
For tmux users, you can additionally install
tmux-fpp which adds a key combination to run PathPicker on the last received
stdout. It makes jumping into file selection mode even easier -- check it out here.
The selected files are appended to the command prefix to form the final command. If you need the files
in the middle of your command, you can use the
$F token instead, like:
cat $F | wc -l
Another important note is that PathPicker by default only selects files that exist on the filesystem. If you
want to skip this (perhaps to selected deleted files in
git status), just run PathPicker with the
PathPicker is a combination of a bash script and some small Python modules. It essentially has three steps:
curses. The user either selects a few files to edit or inputs a command to execute.
It's not the most elegant architecture in the world but (in our opinion) provides a lot of utility.
For all documentation and configuration options, see the output of
See the CONTRIBUTING file for how to help out.
PathPicker is BSD-licensed. We also provide an additional patent grant.
git log 0.7.1..HEAD
home(a vestigial hack from internal Facebook infra)
Thanks everyone for the support
git log 0.7.0..HEAD
fishshell (PR #227)
As always, big thanks to the community for their support and contributions!
Another awesome community release!
all inputmode in #210 which allows you to use fpp to work with non-file inputs like git branches or mercurial bookmarks. Helpful for when you just want to use the selector UI and don't have another fuzzy selector installed.
emacsclientline jump support