zle: command not found #165

Closed
yljphp opened this Issue Jun 5, 2016 · 2 comments

3 participants

@yljphp

$ git clone git://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
Cloning into '/Users/ylj/.zsh/zsh-autosuggestions'...
remote: Counting objects: 837, done.
remote: Total 837 (delta 0), reused 0 (delta 0), pack-reused 837
Receiving objects: 100% (837/837), 222.77 KiB | 34.00 KiB/s, done.
Resolving deltas: 100% (469/469), done.
Checking connectivity... done.
$ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
bash: zle: command not found
bash: /Users/ylj/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh: line 126: syntax error near unexpected token `('
bash: /Users/ylj/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh: line 126: `          user:_zsh_autosuggest_(bound|orig)_*);;'

@george-b

bash: zle: command not found

Erm, looks like you're running bash and not zsh.

@ericfreese
zsh-users member

Yep, this is a plugin for zsh only. Doesn't work with bash.

@ericfreese ericfreese closed this Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment