mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 00:58:16 +00:00
Fix zsh autosuggestions repeating characters (#14)
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
awscli2
|
awscli2
|
||||||
|
bandwhich
|
||||||
bat
|
bat
|
||||||
black
|
black
|
||||||
chromium
|
chromium
|
||||||
@@ -45,10 +46,10 @@
|
|||||||
tree
|
tree
|
||||||
unzip
|
unzip
|
||||||
vlc
|
vlc
|
||||||
|
youtube-dl
|
||||||
zathura
|
zathura
|
||||||
zip
|
zip
|
||||||
zsh-autosuggestions
|
zsh-fast-syntax-highlighting
|
||||||
zsh-syntax-highlighting
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
@@ -57,24 +58,18 @@
|
|||||||
history.size = 1000000;
|
history.size = 1000000;
|
||||||
|
|
||||||
localVariables = {
|
localVariables = {
|
||||||
COMPLETITION_WAITING_DOTS = "true";
|
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#838383,underline";
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#838383,underline";
|
||||||
ZSH_DISABLE_COMPFIX = "true";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
export EDITOR='neovim'
|
export EDITOR='neovim'
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
export LANG="en_US.UTF-8";
|
|
||||||
export LC_ALL="C";
|
|
||||||
export PATH=$PATH:~/.local/bin
|
export PATH=$PATH:~/.local/bin
|
||||||
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
|
|
||||||
source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
@@ -95,7 +90,7 @@
|
|||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "syntax-highlighting";
|
name = "fast-syntax-highlighting";
|
||||||
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
|
src = "${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Reference in New Issue
Block a user