mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Add zsh-autosuggestions
This commit is contained in:
8
.zshrc
8
.zshrc
@@ -1,10 +1,13 @@
|
|||||||
# oh-my-zsh
|
# oh-my-zsh
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
plugins=(fzf git zsh-syntax-highlighting last-working-dir)
|
plugins=(fzf git zsh-syntax-highlighting last-working-dir zsh-autosuggestions)
|
||||||
|
|
||||||
# case-sensitive completion
|
# case-sensitive completion
|
||||||
CASE_SENSITIVE="true"
|
CASE_SENSITIVE="true"
|
||||||
|
|
||||||
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#838383,underline"
|
||||||
|
ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
|
||||||
# Disable marking untracked files
|
# Disable marking untracked files
|
||||||
# under VCS as dirty. This makes repository status check for large repositories
|
# under VCS as dirty. This makes repository status check for large repositories
|
||||||
# much, much faster.
|
# much, much faster.
|
||||||
@@ -41,8 +44,5 @@ eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
|||||||
# broot
|
# broot
|
||||||
source $HOME/.config/broot/launcher/bash/br
|
source $HOME/.config/broot/launcher/bash/br
|
||||||
|
|
||||||
# zoxide
|
|
||||||
eval "$(zoxide init zsh)"
|
|
||||||
|
|
||||||
# starship
|
# starship
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
Reference in New Issue
Block a user