deps: update parse version

This commit is contained in:
iff 2024-11-18 13:56:19 +01:00
parent f9aa0e6727
commit 9c8cf93917
3 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View file

@ -257,9 +257,9 @@ dependencies = [
[[package]]
name = "pay-respects-parser"
version = "0.2.4"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61bbafecf4ad11407c7c6034a1cdfe660e67a3fd62fc75ad7d5f9ea23dfc8efe"
checksum = "3793a4fca8bb4230c885f12e99334dc25d2dce37299464886bda265cba24e365"
dependencies = [
"proc-macro2",
"quote",

View file

@ -24,7 +24,7 @@ regex-lite = "0.1"
toml = { version = "0.7", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
pay-respects-parser = "0.2.4"
pay-respects-parser = "0.2.5"
# pay-respects-parser = { path = "../pay-respects-parser" }

View file

@ -176,7 +176,7 @@ pub fn initialization(shell: &str, binary_path: &str, auto_alias: &str) {
}
}
if shell == "nu" || shell == "nush" || shell == "nushell"{
if shell == "nu" || shell == "nush" || shell == "nushell" {
let pr_alias = if auto_alias.is_empty() {
"f"
} else {
@ -184,7 +184,7 @@ pub fn initialization(shell: &str, binary_path: &str, auto_alias: &str) {
};
let init = format!(
r#"def --env {} [] {{
r#"def --env {} [] {{
let dir = (with-env {{ _PR_LAST_COMMAND: {}, _PR_ALIAS: {}, _PR_SHELL: nu }} {{ {} }})
cd $dir
}}"#,