nixos/default: zsh aliases for color
This commit is contained in:
parent
0b56fd5af6
commit
6a27d9b52c
|
@ -62,12 +62,19 @@
|
|||
|
||||
# zsh
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
programs.zsh.enable = true;
|
||||
programs.zsh.autosuggestions.enable = true;
|
||||
programs.zsh.syntaxHighlighting.enable = true;
|
||||
programs.zsh.interactiveShellInit = ''
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
interactiveShellInit = ''
|
||||
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
'';
|
||||
programs.zsh.promptInit = "";
|
||||
promptInit = "";
|
||||
shellAliases = {
|
||||
ip = "ip --color";
|
||||
watch = "watch -c";
|
||||
grep = "grep --color=always --exclude-dir=.git";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue