1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: configure nushell a little

This commit is contained in:
oddlama 2023-09-17 03:34:00 +02:00
parent eadbc15bbf
commit 927e8327cb
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
7 changed files with 50 additions and 11 deletions

View file

@ -0,0 +1,28 @@
$env.config = {
show_banner: false
history: {
max_size: 10000000
file_format: "sqlite"
# Write history on enter
sync_on_enter: true
# but each shell should have an effective isolated buffer
isolation: true
}
completions: {
case_sensitive: false
quick: true
partial: true
algorithm: "prefix"
external: {
enable: true
max_results: 200
completer: null
}
}
cd: {
abbreviations: true
}
}

View file

@ -0,0 +1,15 @@
{
programs.nushell = {
enable = true;
configFile.source = ./config.nu;
envFile.source = ./env.nu;
};
home.persistence."/persist".directories = [
".config/nushell"
];
# XXX: remove once removed. DEBOALOGR
programs.starship.enableNushellIntegration = false;
programs.atuin.enableNushellIntegration = false;
}

View file

View file

@ -1,5 +0,0 @@
{
programs.nushell.enable = true;
programs.starship.enableNushellIntegration = false;
programs.atuin.enableNushellIntegration = false;
}

View file

@ -6,7 +6,7 @@
./config/htop.nix
./config/impermanence.nix
./config/neovim.nix
./config/shell
./config/nushell
./config/utils.nix
];
}