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:
parent
a1df6c4c76
commit
46c83c07b9
4 changed files with 65 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue