chore: more useless nu settings

This commit is contained in:
oddlama 2023-09-17 16:41:44 +02:00
parent 3b187c0260
commit bac1f9e07a
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -1,13 +1,22 @@
# TODO only partially isolate, don't live reload history when other shells save
# TODO git status
# TODO fzf fuzzy
# TODO isolation = false -> no session id is even generated... sad
# TODO nix command completion
$env.config = { $env.config = {
show_banner: false show_banner: false
history: { history: {
max_size: 10000000 max_size: 10000000
file_format: "sqlite" file_format: "sqlite"
# Write history on enter # Not writing history on enter is meh, but I want shells to only have
sync_on_enter: true # access to the history up to the point where it was started.
# XXX: broken with sqlite. https://github.com/nushell/nushell/issues/7915
sync_on_enter: false
# but each shell should have an effective isolated buffer # but each shell should have an effective isolated buffer
isolation: true # XXX: todo this currently isolates completely, so no access to prev history at all.
# instead, this should prevent live reloading history when other shells sync it.
isolation: false
} }
completions: { completions: {
@ -25,4 +34,6 @@ $env.config = {
cd: { cd: {
abbreviations: true abbreviations: true
} }
shell_integration: true
} }