{"repo":"rcmdnk/sentaku","free":true,"listed":false,"github":"https://github.com/rcmdnk/sentaku","clone":"git clone https://github.com/rcmdnk/sentaku.git","description":"Utility to make sentaku (selection, 選択(sentaku)) window with shell command.","language":"Shell","stars":150,"topics":["shell","selection","terminal","interactive","bash"],"license":"MIT","category":"cli-tools","readme_excerpt":"sentaku ======= Utility to make sentaku (selection, 選択(sentaku)) window with shell command. If you give multi-word to sentaku by pipe at command line, you can choose one of them in the sentaku window then selected one will be returned. Requirement: - Bash 3.X or later - Zsh 4.X or later Installation Homebrew on Mac On Mac, you can install scripts by Homebrew: $ brew tap rcmdnk/rcmdnkpac $ brew install sentaku If you have brew file, add following lines to Brewfile: tap 'rcmdnk/rcmdnkpac' brew 'sentaku' then, do: $ brew file install Or if you write like: tapall 'rcmdnk/rcmdnkpac' and do brew file install , you will have all useful scripts in rcmdnkpac. Homebrew installation installs all scripts in bin directory including examples. cURL You can also use an install script on the web like: $ curl -fsSL https://raw.github.com/rcmdnk/sentaku/install/install.sh sh This will install scripts to /usr/bin and you may be asked root password. If you want to install other directory, do like: $ curl -fsSL https://raw.github.com/rcmdnk/sentaku/install/install.sh prefix= /usr/local/ sh This method installs only sentaku and ddv . By hand Or, simply download scripts and set where you like. Usage Standalone Use with pipe at command line. If you run sentaku alone, nothing happens. Give any words to sentaku by pipe. The default separator is $IFS . If you want to use different separator, use -s option. In case there any directory/file names which have spaces, use line break as a separator, i.e.: $ l","default_branch":null,"files":null,"tree":[],"storefront":"/r/rcmdnk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rcmdnk/sentaku/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}