Skip to content
mattnPublic

About

No description, website, or topics provided.

Resources

Stars

78 stars

Watchers

2 watching

Forks

Latest commit

 

History

98 Commits

Folders and files

Repository files navigation

cho

choice!

cho

Why cho?

Why not choice? Because Windows already have choice command.

Why not choic? Too long

Why not choi? Still long

Then, cho? Sound good to me

Usage

Just like peco

Installation

$ go get github.com/mattn/cho

Usecase

Linux

FOO=`ls | cho`

Windows

for /f "delims=;" %%i in ('ls ^| cho') do set FOO=%%i

Keys

Key Behavior
CTRL-N Next
CTRL-P Previous
Enter Decide
CTLR-A Left side on prompt
CTLR-E Right side on prompt
CTRL-V Select in multi mode
CTRL-U Clear prompt
ESC Cancel

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

About

No description, website, or topics provided.

Resources

Stars

78 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址