profiles/shells/nushell: add nushell
This commit is contained in:
parent
74b4cc13f0
commit
6dfd9c639e
2 changed files with 16 additions and 0 deletions
|
@ -3,5 +3,6 @@
|
||||||
./bash.nix
|
./bash.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
|
./nushell.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
15
users/profiles/shells/nushell.nix
Normal file
15
users/profiles/shells/nushell.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ ... }: {
|
||||||
|
programs.nushell = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
complete_from_path = true;
|
||||||
|
ctrlc_exit = true;
|
||||||
|
startup = [
|
||||||
|
"mkdir ~/.cache/starship"
|
||||||
|
"starship init nu | save ~/.cache/starship/init.nu"
|
||||||
|
"source ~/.cache/starship/init.nu"
|
||||||
|
];
|
||||||
|
prompt = "starship_prompt";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue