forked from http://mimosa-pudica.net/zsh-incremental.html
incr is a really great plugin for oh-my-zsh. But the incremental completion of incr is automatic and always on. I tried to compile hello.c to executable file hello. But hello is always autocompleted to hello.c since hello.c is the only file in the dir. It is annoying.
This repository has commented out the line of code show-prediction
within the vi-backward-delete-char-incr
and backward-delete-char-incr
function. And you can temporarily disable incr after pressing backspace.
Clone the repository:
git clone [email protected]:Musso12138/incr-zsh.git
Create directory for incr plugin:
mkdir ~/.oh-my-zsh/plugins/incr
Copy incr.plugin.zsh to the directory:
cp incr-zsh/incr.plugin.zsh ~/.oh-my-zsh/plugins/incr/incr.plugin.zsh
Load incr plugin:
source ~/.oh-my-zsh/plugins/incr/incr*.zsh