zaw icon indicating copy to clipboard operation
zaw copied to clipboard

"No such widget" error

Open TiiFuchs opened this issue 8 years ago • 2 comments

When I use zaw for a history lookup and press Enter on my match the following gets displayed:

No such widget .zaw-history

TiiFuchs avatar Nov 19 '17 18:11 TiiFuchs

I guess you fail to load zaw collectly. How did you load on your .zshrc?

termoshtt avatar Nov 22 '17 06:11 termoshtt

I had the same issue. FYI, In the case of my system, this was not a zaw issue. It was caused by the following bit of zsh code interfering:

      magic-enter () {
        if [[ $#BUFFER -eq 0 ]]; then
          echo ""
          ls --color=auto
          zle redisplay
        else
          zle .$WIDGET
        fi
      }
      zle -N accept-line magic-enter

freuk avatar Sep 22 '18 11:09 freuk