Giter Club home page Giter Club logo

pick's Introduction

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

Fedora/RHEL/CentOS

The RPM builds are not yet in the official repositories, but you can install a community-built RPM if you are running Fedora 33 on x86_64:

wget https://github.com/FreedomBen/pick-rpm/releases/download/v4.0.0/pick-4.0.0-1.fc33.x86_64.rpm
sudo dnf install pick-4.0.0-1.fc33.x86_64.rpm

If you are running RHEL, CentOS, Fedora 31/32, 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.

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.

pick's People

Contributors

mptre avatar calleluks avatar freedomben avatar keith avatar temochka avatar avgerin0s avatar fornwall avatar prahlad37 avatar ecerulm avatar scoreunder avatar radhermit avatar xuchunyang avatar croaky avatar gbuella avatar mjankowski avatar ebfe avatar neelchauhan avatar rosshadden avatar srstevenson avatar teoljungberg avatar borstel avatar bright-tools avatar rheber avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.