18 lines
386 B
Nix
18 lines
386 B
Nix
{pkgs, ...}: {
|
|
programs.nushell = {
|
|
enable = true;
|
|
configFile = {
|
|
text = ''
|
|
source ~/.zoxide.nu
|
|
source ~/.cache/starship/init.nu
|
|
'';
|
|
};
|
|
envFile = {
|
|
text = ''
|
|
zoxide init nushell --hook prompt | save ~/.zoxide.nu
|
|
mkdir ~/.cache/starship
|
|
starship init nu | save ~/.cache/starship/init.nu
|
|
'';
|
|
};
|
|
};
|
|
}
|