configured and set default to bash, added zoxide
This commit is contained in:
parent
f44a5826f2
commit
a20e749bd7
5 changed files with 42 additions and 4 deletions
17
users/willifan/common/shell/bash.nix
Normal file
17
users/willifan/common/shell/bash.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
home-manager.users.willifan = {
|
||||
programs = {
|
||||
bash = {
|
||||
enable = true;
|
||||
};
|
||||
starship = {
|
||||
enableBashIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# programs.bash.blesh.enable = true;
|
||||
|
||||
}
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
home-manager.users.willifan.programs.nushell = {
|
||||
enable = true;
|
||||
home-manager.users.willifan = {
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
};
|
||||
starship = {
|
||||
enableNushellIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
home-manager.users.willifan.programs.starship = {
|
||||
enable = true;
|
||||
enableNushellIntegration = true;
|
||||
settings = {
|
||||
format = lib.concatStrings [
|
||||
"[ ](fg:twelve bg:trans_blue)"
|
||||
|
|
13
users/willifan/common/shell/zoxide.nix
Normal file
13
users/willifan/common/shell/zoxide.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
home-manager.users.willifan = {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue