Skip to content

Using fzf in zx code. Verbose. #504

Answered by tsekaris
tsekaris asked this question in Help needed
Discussion options

You must be logged in to vote

Υou're right. Is working with stderr:

$.verbose = false
let p = $`echo -e "red\nblack\nyellow\nwhite"`.pipe($`fzf`)
p.stderr.pipe(process.stderr)
let color = (await p).stdout.trim()
console.log(color)

Thank you for your time...

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@antonmedv
Comment options

Comment options

You must be logged in to vote
1 reply
@antonmedv
Comment options

Answer selected by tsekaris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants