Skip to content

Zsh giving Inappropriate ioctl for device #135

@krillxox

Description

@krillxox

In to order to launch pet-select by c-r, I pasted this code in my .zshrc file:

function pet-select() {
  BUFFER=$(pet search --query "$LBUFFER")
  CURSOR=$#BUFFER
  zle redisplay
}
zle -N pet-select
stty -ixon
bindkey '^r' pet-select

When I launch konsole it gives me stty: 'standard input': Inappropriate ioctl for device
Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions