mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-04-17 11:35:31 +08:00
Merge 0f35d621f9
into 0d36d4ccdd
This commit is contained in:
commit
5bdfded77c
16
README.mkd
16
README.mkd
@ -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)
|
||||
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.
|
||||
|
@ -9,7 +9,7 @@
|
||||
# ```
|
||||
zmodload zsh/net/socket
|
||||
|
||||
source "${0:a:h}/completion-client.zsh"
|
||||
source "${0:a:h}/lib/completion-client.zsh"
|
||||
|
||||
# configuration variables
|
||||
AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=8'
|
||||
|
1
zsh-autosuggestions.plugin.zsh
Normal file
1
zsh-autosuggestions.plugin.zsh
Normal file
@ -0,0 +1 @@
|
||||
source ${0%/*}/autosuggestions.zsh
|
Loading…
Reference in New Issue
Block a user