24 lines
474 B
Nix
24 lines
474 B
Nix
|
{ pkgs, config, ... }: {
|
||
|
|
||
|
programs.zsh = {
|
||
|
enable = true;
|
||
|
enableCompletion = true;
|
||
|
autosuggestion.enable = true;
|
||
|
syntaxHighlighting.enable = true;
|
||
|
|
||
|
shellAliases = {
|
||
|
ll = "ls -l";
|
||
|
};
|
||
|
history.size = 10000;
|
||
|
history.path = "${config.xdg.dataHome}/zsh/history";
|
||
|
|
||
|
initExtra = ''
|
||
|
bindkey -v
|
||
|
bindkey "^H" backward-delete-char
|
||
|
bindkey "^?" backward-delete-char
|
||
|
set -o vi
|
||
|
export TERM=xterm
|
||
|
'';
|
||
|
};
|
||
|
}
|