diff --git a/README.mkd b/README.mkd index 9ce8365..1a50d21 100644 --- a/README.mkd +++ b/README.mkd @@ -38,6 +38,22 @@ Emacs-mode users can simply use alt+f which is bound to forward-word The [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search) plugin is also recommended. + +## With oh-my-zsh + +* Download the script or clone this repository in [oh-my-zsh](http://github.com/robbyrussell/oh-my-zsh) plugins directory: + + cd ~/.oh-my-zsh/custom/plugins + git clone git://github.com/tarruda/zsh-autosuggestions.git + +* Activate the plugin in `~/.zshrc` (in **last** position): + + plugins=( [plugins...] zsh-autosuggestions) + +* Source `~/.zshrc` to take changes into account: + + source ~/.zshrc + ## Configuration You may override default global config variables after plugin load. diff --git a/autosuggestions.plugin.zsh b/autosuggestions.plugin.zsh new file mode 100644 index 0000000..c7b77e0 --- /dev/null +++ b/autosuggestions.plugin.zsh @@ -0,0 +1 @@ +autosuggestions.zsh