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 = [
./bash.nix
./hyfetch.nix
./nushell.nix
./ssh.nix
./starship.nix
./zoxide.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 = {
enable = true;
home-manager.users.willifan = {
programs = {
nushell = {
enable = true;
};
starship = {
enableNushellIntegration = true;
};
};
};
}

View file

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

View file

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