add nushell and carapace
This commit is contained in:
parent
f556374919
commit
8a54335ad1
3 changed files with 19 additions and 0 deletions
13
modules/shell/default.nix
Normal file
13
modules/shell/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, impurity, ... }: {
|
||||||
|
home-manager.users.${config.main-user} = { config, ... }: {
|
||||||
|
programs.nushell = {
|
||||||
|
enable = true;
|
||||||
|
configFile.text = "source ${impurity.link ./nushell.nu}";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.carapace = {
|
||||||
|
enable = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
5
modules/shell/nushell.nu
Normal file
5
modules/shell/nushell.nu
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
$env.config.show_banner = false
|
||||||
|
$env.config.buffer_editor = ["emacsclient", "-c"]
|
||||||
|
$env.CARAPACE_BRIDGES = ["fish", "zsh", "bash"]
|
||||||
|
|
||||||
|
alias e = emacsclient -c
|
|
@ -6,6 +6,7 @@
|
||||||
./user
|
./user
|
||||||
./emacs
|
./emacs
|
||||||
./zsh
|
./zsh
|
||||||
|
./shell
|
||||||
./polkit.nix
|
./polkit.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue