Skip to content

Chain Commands #266

Answered by jaroslawhartman
raf912 asked this question in Q&A
Discussion options

You must be logged in to vote

If you're using zsh you would need to set this widget definition in .zshrc:

function pet-select() {
  RBUFFER=$(pet search)
  CURSOR=$#BUFFER
  zle redisplay
}
zle -N pet-select
stty -ixon
bindkey '^s' pet-select

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RamiAwar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #169 on February 05, 2024 06:32.