mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-24 17:23:50 +01:00
refactor: rustfmt
This commit is contained in:
parent
5891e387b9
commit
69c1d48491
@ -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 {
|
||||
|
@ -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"#,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user