nushell: enable transient prompt, emacs binds mode

This commit is contained in:
Evie Litherland-Smith 2024-02-03 08:36:52 +00:00
parent 14970fa70d
commit 88841cf663
3 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,4 @@
$env.config = {
show_banner: false,
edit_mode: emacs,
}

View file

@ -1,6 +1,7 @@
{...}: {
programs.nushell = {
enable = true;
envFile.source = ./config.nu;
envFile.source = ./env.nu;
configFile.source = ./config.nu;
};
}

1
home/nushell/env.nu Normal file
View file

@ -0,0 +1 @@
$env.TRANSIENT_PROMPT_COMMAND = "> "