Skip to content
A fuzzy search tool for the command-line
C Perl Roff Makefile Shell
Branch: master
Clone or download
Latest commit a3b584e Mar 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests Get rid of autoconf Feb 24, 2019
.gitignore Get rid of autoconf Feb 24, 2019
.travis.yml travis: rework test configuration Feb 24, 2019
CHANGELOG.md
CODE_OF_CONDUCT.md Update and include the project's code of conduct Oct 19, 2016
CONTRIBUTING.md Get rid of autoconf Feb 24, 2019
GNUmakefile Get rid of autoconf Feb 24, 2019
LICENSE copyright++ Feb 24, 2019
Makefile Update version to 3.0.1 Mar 10, 2019
README.md copyright++ Feb 24, 2019
compat-pledge.c Get rid of autoconf Feb 24, 2019
compat-reallocarray.c Get rid of autoconf Feb 24, 2019
compat-strtonum.c Get rid of autoconf Feb 24, 2019
configure Honor BINDIR during configure and install Mar 8, 2019
pick.1 Update my own email Sep 29, 2018
pick.c Get rid of autoconf Feb 24, 2019
screencast.gif Improve README.md. Feb 27, 2015

README.md

pick

pick(1) usage

pick(1) reads a list of choices from stdin and outputs the selected choice to stdout. Therefore it is easily used both in pipelines and subshells:

# 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)

pick(1) can also be used from within Vim, see the pick.vim plugin.

Installation

CRUX

Available in 6c37/crux-ports.

Debian and Ubuntu

A package for Pick is available As of Debian 9 and Ubuntu 16.04 LTS.

apt-get install pick

Gentoo

Package is available from the official repo.

emerge pick

Void Linux

Package is available from the official repo.

xbps-install pick

Mac OS X via Homebrew

brew install pick

Mac OS X via MacPorts

sudo port install pick

FreeBSD via Ports

cd /usr/ports/sysutils/pick
make install clean

FreeBSD via pkgng

pkg install pick

NetBSD via pkgsrc

pkg_add pick

OpenBSD

pkg_add pick

From source

./configure
make install

Copyright

Copyright (c) 2019 Calle Erlandsson, Anton Lindqvist & thoughtbot.

You can’t perform that action at this time.