home/zsh: refactor
This commit is contained in:
parent
81b0ee0ded
commit
1e82abceef
1 changed files with 6 additions and 7 deletions
|
@ -5,12 +5,12 @@
|
||||||
}: {
|
}: {
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
### XDG
|
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
### Plugins
|
initExtra = "zstyle ':fzf-tab:*' fzf-command sk";
|
||||||
syntaxHighlighting.enable = true;
|
|
||||||
historySubstringSearch.enable = true;
|
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
|
historySubstringSearch.enable = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
name = "fzf-tab";
|
name = "fzf-tab";
|
||||||
|
@ -21,10 +21,9 @@
|
||||||
src = "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo";
|
src = "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
initExtra = "zstyle ':fzf-tab:*' fzf-command sk";
|
|
||||||
### History
|
|
||||||
history = {
|
history = {
|
||||||
path = "${config.xdg.configHome}/zsh/.zsh_history";
|
path = "${config.xdg.dataHome}/zsh/zsh_history";
|
||||||
save = 1000000;
|
save = 1000000;
|
||||||
size = 1000000;
|
size = 1000000;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue