zsh init~
This commit is contained in:
parent
17997a0523
commit
5016e65d67
2 changed files with 25 additions and 1 deletions
|
@ -1,4 +1,9 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
thefuck
|
||||
git
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
ga = "git add -A";
|
||||
gc = "git commit -m ";
|
||||
|
@ -8,9 +13,24 @@
|
|||
|
||||
nrb = "sudo nixos-rebuild switch --flake .";
|
||||
nd = "nix develop";
|
||||
|
||||
neofetch = "hyfetch";
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
enableVteIntegration = true;
|
||||
history.ignoreAllDups = true;
|
||||
historySubstringSearch.enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "thefuck" ];
|
||||
theme = "bira";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -83,5 +83,9 @@
|
|||
description = "twoneis";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
|
||||
# Use zsh
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue