atuin: Use flags option with nushell integration (#3917)

* atuin: Use flags option

* atuin: formatting

* atuin: Use flagsStr
This commit is contained in:
Erwin Boskma 2023-04-25 12:45:09 +02:00 committed by GitHub
parent 0263da497e
commit 6142193635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ in {
if not ($atuin_cache | path exists) { if not ($atuin_cache | path exists) {
mkdir $atuin_cache mkdir $atuin_cache
} }
${cfg.package}/bin/atuin init nu | save --force ${config.xdg.cacheHome}/atuin/init.nu ${cfg.package}/bin/atuin init nu ${flagsStr} | save --force ${config.xdg.cacheHome}/atuin/init.nu
''; '';
extraConfig = '' extraConfig = ''
source ${config.xdg.cacheHome}/atuin/init.nu source ${config.xdg.cacheHome}/atuin/init.nu