zsh-users/zaw

"No such widget" error

TiiFuchs opened this issue · 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

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

freuk commented

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