more zsh features
This commit is contained in:
parent
54960fc9f0
commit
593e153a55
|
@ -490,8 +490,10 @@ in
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
# zsh wanted
|
# zsh with extras wanted
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
syntaxHighlighting.enable = true;
|
||||||
|
|
||||||
# some env vars I want in all of my shells
|
# some env vars I want in all of my shells
|
||||||
shellInit = ''
|
shellInit = ''
|
||||||
|
@ -502,8 +504,6 @@ in
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "ls -l";
|
|
||||||
|
|
||||||
# system build/update/cleanup
|
# system build/update/cleanup
|
||||||
update = "sudo nixos-rebuild switch";
|
update = "sudo nixos-rebuild switch";
|
||||||
upgrade = "sudo nixos-rebuild switch --upgrade";
|
upgrade = "sudo nixos-rebuild switch --upgrade";
|
||||||
|
|
Loading…
Reference in a new issue