No such widget `autosuggest-...-orig' #28

Closed
bolasblack opened this Issue Jul 13, 2014 · 2 comments

4 participants

@bolasblack

Error:

> ~/workSpace $
No such widget `autosuggest-cd-complete-orig'

I defined a widget like this:

cd-complete() {
  if [[ ! -n $BUFFER ]] ; then
    BUFFER="cd "
    zle end-of-line
  fi
  zle expand-or-complete
}
zle -N cd-complete
bindkey "\t" cd-complete

How can I fix it?

@PythonNut

Was the widget defined after zsh-autosuggestions was enabled?

@ambethia

@bolasblack I fixed this by loading zsh-autosuggestions after everything else.

@faceleg faceleg closed this Dec 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment