Closed chadluo closed 8 months ago
Describe the bug key-bindings.zsh fail to run when starting a new zsh session.
key-bindings.zsh
To Reproduce Steps to reproduce the behavior:
inshellisense bind
/Users/chadluo/.inshellisense/key-bindings.zsh:10: parse error near `__inshellisense'
key-bindings.zsh file content:
__inshellisense__() { input=$LBUFFER LBUFFER= inshellisense -c "$input" -s zsh < $TTY print -s $(inshellisense --history) zle reset-prompt } zle -N __inshellisense __inshellisense__ bindkey '^A' __inshellisense
Expected behavior inshellisense loaded and working the same as inshellisense --shell zsh I guess?
inshellisense --shell zsh
Environment
inshellisense --version
Additional context inshellisense --shell works fine
inshellisense --shell
hmm duplicate #3 & #8
Describe the bug
key-bindings.zsh
fail to run when starting a new zsh session.To Reproduce Steps to reproduce the behavior:
inshellisense bind
and select zsh ~/.inshellisense createdkey-bindings.zsh file content:
Expected behavior inshellisense loaded and working the same as
inshellisense --shell zsh
I guess?Environment
inshellisense --version
: 0.0.1-rc.1Additional context
inshellisense --shell
works fine