added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
31
alt/modules/terminal/zsh/home.nix
Executable file
31
alt/modules/terminal/zsh/home.nix
Executable file
|
@ -0,0 +1,31 @@
|
|||
{ pkgs, config, ... }
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableAutoSuggestions = true;
|
||||
|
||||
shellAliases = {
|
||||
c = "clear";
|
||||
cc = "cd && clear";
|
||||
la = "eza -lah";
|
||||
ls = "eza"
|
||||
update = "sudo nixos-rebuild switch --flake '/home/vali/.flake/'#laptop";
|
||||
nv = "nvim";
|
||||
sunv = "sudo nvim";
|
||||
};
|
||||
history.size = 10000;
|
||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "thefuck" ];
|
||||
};
|
||||
home.packages = with pkgs; [ thefuck ];
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue