user/zsh: load zsh-autosuggestions after pure
prevents an error: `_zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?`
This commit is contained in:
parent
16e59c6a77
commit
881547f380
1 changed files with 6 additions and 3 deletions
|
|
@ -103,7 +103,6 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
|
|
||||||
enableAutosuggestions = true;
|
|
||||||
autocd = true;
|
autocd = true;
|
||||||
defaultKeymap = "viins";
|
defaultKeymap = "viins";
|
||||||
|
|
||||||
|
|
@ -148,10 +147,14 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = builtins.map (e: pluginFromInput e) [
|
plugins = builtins.map (e: pluginFromInput e) [
|
||||||
|
"pure"
|
||||||
"zsh-abbr"
|
"zsh-abbr"
|
||||||
"zsh-history-substring-search"
|
"zsh-history-substring-search"
|
||||||
"fast-syntax-highlighting"
|
"fast-syntax-highlighting"
|
||||||
"pure"
|
] ++ [{
|
||||||
];
|
name = "zsh-autosuggestions";
|
||||||
|
src = pkgs.zsh-autosuggestions + "/share/zsh-autosuggestions";
|
||||||
|
file = "zsh-autosuggestions.zsh";
|
||||||
|
}];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue