zsh-autosuggestions
zsh-autosuggestions copied to clipboard
Fish-like autosuggestions for zsh
closes #653
I get the following error on startup: ``` Last login: Tue Apr 4 15:02:38 on ttys001 (eval):zle:1: not enough arguments for -C _main_complete:compset:94: can only be called from completion function...
### Describe the bug Setting this option before sourcing the plugin breaks it ### To Reproduce Steps to reproduce the behavior: ```sh % zsh -df % setopt KSH_ARRAYS % source...
### Is your feature request related to a problem? Please describe. After a long enough time the zsh history file becomes quite bloated, and many commands in the history are...
### Describe the bug When I source autosuggestions.zsh and type 5 backspaces, zsh terminates with exit code 1 and the following message: `free(): invalid pointer` ### To Reproduce Steps to...
Bug: "_zsh_autosuggest_invoke_original_widget:14: maximum nested function level reached; increase FUNCNEST?" is output every time i type How to recreate: Literally try to type anything my zshrc: ```zsh if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"...
### Describe the bug I have the following widget defined and bound in my rc (copied from [this stackoverflow post](https://stackoverflow.com/questions/48229336/insert-first-word-of-previous-command-in-zsh-command-line)): ```zsh insert-first-word () { zle insert-last-word -- -1 1 }...
### Describe the bug The auto-suggested text is not distinguishable if not being accepted. For instance, in the following screenshot, I entered `cd temp` and afterward `cd`. Before hitting CR...
### Describe the bug Autosuggestions is not cleared even if menu-select is added to ZSH_AUTOSUGGEST_CLEAR_WIDGETS ### To Reproduce ZSH_AUTOSUGGEST_CLEAR_WIDGETS=( 'history-search-forward' 'history-search-backward' 'history-beginning-search-forward' 'history-beginning-search-backward' 'history-substring-search-up' 'history-substring-search-down' 'up-line-or-beginning-search' 'down-line-or-beginning-search' 'up-line-or-history' 'down-line-or-history' 'accept-line'...
Autosuggest suggests me files that don't exist in this directory, e.g. ``` foo$ vim foofile foo$ cd bar foo/bar$ vim | ``` at the `|` point autosuggest is suggesting me...