| PICK(1) | General Commands Manual | PICK(1) |
pick — fuzzy
select anything
pick |
[-hvKS] [-d
[-o]] [-x |
-X] [-q
query] |
The pick utility allows users to select
from a set of choices using an curses(3) interface with
fuzzy search functionality.
The choices are read from stdin, and the selected choice written to stdout.
The options are as follows:
-dIFS. Both parts will be
displayed but only the first part will be used when searching.-h-Kpick from within another interactive program which
already has set the correct transmit mode.-o-q
query-S-v-x-XCtrl-CVINTR control character, see
termios(4).Ctrl-LCtrl-OUp/Down
|
Ctrl-P/Ctrl-NPage-Down/Page-Up
|
Ctrl-V/Alt-V
|
Alt-SpaceHome/End
|
Alt-</Alt->EnterAlt-EnterLeft/Right
|
Ctrl-B/Ctrl-FCtrl-ACtrl-EBackspace
|
Ctrl-HDelete
|
Ctrl-DCtrl-W
|
Alt-BackspaceCtrl-UCtrl-KPrintable
charactersThe following environment variables will affect the execution of
pick:
IFSSIGWINCHSelect a file in the current directory to open using xdg-open(1):
$ find . -type f | pick | xargs
xdg-openSelect a command from the history to execute:
$ eval $(fc -ln 1 |
pick)The pick utility exits 0 on
success, and >0 if an error occurs.
The first version of pick was released on
August 18, 2014. Development was sponsored by
thoughtbot from the start of
the project until September 2016.
Calle Erlandsson
<calle@calleerlandsson.com>
Anton Lindqvist
<anton.lindqvist@gmail.com>
| August 17, 2014 | Debian |