configured and set default to bash, added zoxide

This commit is contained in:
willifan 2024-10-12 21:50:17 +02:00
parent f44a5826f2
commit a20e749bd7
5 changed files with 42 additions and 4 deletions

View file

@ -0,0 +1,17 @@
{ ... }:
{
home-manager.users.willifan = {
programs = {
bash = {
enable = true;
};
starship = {
enableBashIntegration = true;
};
};
};
# programs.bash.blesh.enable = true;
}

View file

@ -2,13 +2,15 @@
{ {
imports = [ imports = [
./bash.nix
./hyfetch.nix ./hyfetch.nix
./nushell.nix ./nushell.nix
./ssh.nix ./ssh.nix
./starship.nix ./starship.nix
./zoxide.nix
./zsh.nix ./zsh.nix
]; ];
users.users.willifan.shell = pkgs.nushell; users.users.willifan.shell = pkgs.bash;
} }

View file

@ -1,8 +1,15 @@
{ ... }: { ... }:
{ {
home-manager.users.willifan.programs.nushell = { home-manager.users.willifan = {
programs = {
nushell = {
enable = true; enable = true;
}; };
starship = {
enableNushellIntegration = true;
};
};
};
} }

View file

@ -3,7 +3,6 @@
home-manager.users.willifan.programs.starship = { home-manager.users.willifan.programs.starship = {
enable = true; enable = true;
enableNushellIntegration = true;
settings = { settings = {
format = lib.concatStrings [ format = lib.concatStrings [
"[ ](fg:twelve bg:trans_blue)" "[ ](fg:twelve bg:trans_blue)"

View file

@ -0,0 +1,13 @@
{ ... }:
{
home-manager.users.willifan = {
programs.zoxide = {
enable = true;
options = [
"--cmd cd"
];
};
};
}