This commit is contained in:
Jan Schmidle 2014-11-07 18:17:27 +00:00
commit 5bdfded77c
6 changed files with 18 additions and 1 deletions

View File

@ -43,6 +43,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) The [zsh-history-substring-search](https://github.com/zsh-users/zsh-history-substring-search)
plugin is also recommended. 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 ## Configuration
You may override default global config variables after plugin load. You may override default global config variables after plugin load.

View File

@ -9,7 +9,7 @@
# ``` # ```
zmodload zsh/net/socket zmodload zsh/net/socket
source "${0:a:h}/completion-client.zsh" source "${0:a:h}/lib/completion-client.zsh"
# configuration variables # configuration variables
AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=8' AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=8'

View File

@ -0,0 +1 @@
source ${0%/*}/autosuggestions.zsh