1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-13 20:41:07 +01:00

nushell: add settings option

This commit is contained in:
Joaquín Triñanes 2024-12-08 01:00:45 +01:00 committed by Robert Helgesson
parent a1df6c4c76
commit 46c83c07b9
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
4 changed files with 65 additions and 16 deletions

View file

@ -1,4 +1,10 @@
let $config = {
$env.config.display_errors.exit_code = false
$env.config.hooks.pre_execution = [
({|| "pre_execution hook"})
]
$env.config.show_banner = false
let config = {
filesize_metric: false
table_mode: rounded
use_ls_colors: true

View file

@ -5,7 +5,7 @@
enable = true;
configFile.text = ''
let $config = {
let config = {
filesize_metric: false
table_mode: rounded
use_ls_colors: true
@ -30,6 +30,13 @@
"ll" = "ls -a";
};
settings = {
show_banner = false;
display_errors.exit_code = false;
hooks.pre_execution =
[ (lib.hm.nushell.mkNushellInline ''{|| "pre_execution hook"}'') ];
};
environmentVariables = {
FOO = "BAR";
LIST_VALUE = [ "foo" "bar" ];