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:
-d
IFS
. Both parts will be
displayed but only the first part will be used when searching.-h
-K
pick
from within another interactive program which
already has set the correct transmit mode.-o
-q
query-S
-v
-x
-X
Ctrl-C
VINTR
control character, see
termios(4).Ctrl-L
Ctrl-O
Up
/Down
|
Ctrl-P
/Ctrl-N
Page-Down
/Page-Up
|
Ctrl-V
/Alt-V
|
Alt-Space
Home
/End
|
Alt-<
/Alt->
Enter
Alt-Enter
Left
/Right
|
Ctrl-B
/Ctrl-F
Ctrl-A
Ctrl-E
Backspace
|
Ctrl-H
Delete
|
Ctrl-D
Ctrl-W
|
Alt-Backspace
Ctrl-U
Ctrl-K
Printable
characters
The following environment variables will affect the execution of
pick
:
IFS
SIGWINCH
Select a file in the current directory to open using xdg-open(1):
$ find . -type f | pick | xargs
xdg-open
Select 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 |