refactor: rustfmt

This commit is contained in:
YummyOreo 2024-04-28 21:43:59 -05:00
parent 5891e387b9
commit 69c1d48491
No known key found for this signature in database
GPG Key ID: E8E87F141BD9D750
2 changed files with 4 additions and 2 deletions

View File

@ -8,9 +8,9 @@ use crate::store::AliasStore;
pub mod bash;
pub mod fish;
pub mod nu;
pub mod xonsh;
pub mod zsh;
pub mod nu;
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
pub struct Alias {

View File

@ -2,5 +2,7 @@ pub async fn var_config() -> String {
// Because nushell won't autoupdate, we just parse the output of `atuin dotfiles var list` in
// nushell and load the env vars that way
String::from(r#"atuin dotfiles var list | lines | parse "export {name}={value}" | reduce -f {} {|it, acc| $acc | upsert $it.name $it.value} | load-env"#)
String::from(
r#"atuin dotfiles var list | lines | parse "export {name}={value}" | reduce -f {} {|it, acc| $acc | upsert $it.name $it.value} | load-env"#,
)
}