项目作者: mptre

项目描述 :
A fuzzy search tool for the command-line
高级语言: C
项目地址: git://github.com/mptre/pick.git
创建时间: 2014-08-17T12:13:39Z
项目社区:https://github.com/mptre/pick

开源协议:MIT License

下载


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:

  1. # Select a file in the current directory to open using xdg-open(1):
  2. $ find . -type f | pick | xargs xdg-open
  3. # Select a command from the history to execute:
  4. $ eval $(fc -ln 1 | pick)

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

Installation

Arch Linux

  1. yay -S pick

CRUX

Available in 6c37/crux-ports.

Debian and Ubuntu

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

  1. apt-get install pick

Gentoo

Package is available from the official repo.

  1. emerge pick

Fedora Linux

Package is available from the official repo.

  1. dnf install pick

RHEL/CentOS

If you are running RHEL, CentOS, Fedora 31-33, or if you are on ARM/aarch64
architecture, you can find appropriate RPMs on the
RPM project releases page.

For more information or to contribute to the RPM build, see the
RPM project page.

Void Linux

Package is available from the official repo.

  1. xbps-install pick

Mac OS X via Homebrew

  1. brew install pick

Mac OS X via MacPorts

  1. sudo port install pick

FreeBSD via Ports

  1. cd /usr/ports/sysutils/pick
  2. make install clean

FreeBSD via pkgng

  1. pkg install pick

NetBSD via pkgsrc

  1. pkg_add pick

OpenBSD

  1. pkg_add pick

From source

  1. ./configure
  2. make install

Copyright (c) 2014-2023 Calle Erlandsson, Anton Lindqvist & thoughtbot.