Add autosuggestions plugin
Fish-like autosuggestions for zsh
This commit is contained in:
parent
4fce36e27b
commit
310bc312d2
@ -17,6 +17,7 @@
|
|||||||
src: prompt_fresh_setup
|
src: prompt_fresh_setup
|
||||||
dst: ~/.local/share/zsh/site-functions/prompt_fresh_setup
|
dst: ~/.local/share/zsh/site-functions/prompt_fresh_setup
|
||||||
- repo:
|
- repo:
|
||||||
- https://github.com/zsh-users/zsh-syntax-highlighting.git
|
- https://github.com/zsh-users/zsh-autosuggestions.git
|
||||||
- https://github.com/zsh-users/zsh-history-substring-search.git
|
- https://github.com/zsh-users/zsh-history-substring-search.git
|
||||||
|
- https://github.com/zsh-users/zsh-syntax-highlighting.git
|
||||||
- message: zsh will be the default prompt after next login
|
- message: zsh will be the default prompt after next login
|
||||||
|
3
zshrc
3
zshrc
@ -3,8 +3,9 @@
|
|||||||
|
|
||||||
# Load plugin scripts
|
# Load plugin scripts
|
||||||
plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh }
|
plugin-load() { source ~/.config/zsh/$1/$1.plugin.zsh }
|
||||||
plugin-load zsh-syntax-highlighting
|
plugin-load zsh-autosuggestions
|
||||||
plugin-load zsh-history-substring-search
|
plugin-load zsh-history-substring-search
|
||||||
|
plugin-load zsh-syntax-highlighting
|
||||||
|
|
||||||
# Remove duplicates from history
|
# Remove duplicates from history
|
||||||
setopt hist_ignore_all_dups
|
setopt hist_ignore_all_dups
|
||||||
|
Loading…
x
Reference in New Issue
Block a user