if not 'config' in $env { $env.config = ([] | into record) } $env.config = ($env.config | upsert show_banner false) $env.config = ($env.config | upsert rm.always_trash true) $env.config = ($env.config | upsert edit_mode vi) $env.config = ($env.config | upsert history.max_size 100000) $env.config = ($env.config | upsert footer_mode auto) $env.config = ($env.config | upsert history.file_format "sqlite")