diff --git a/yazi-plugin/src/external/shell.rs b/yazi-plugin/src/external/shell.rs index ea4d3071..f3908795 100644 --- a/yazi-plugin/src/external/shell.rs +++ b/yazi-plugin/src/external/shell.rs @@ -36,7 +36,7 @@ pub fn shell(opt: ShellOpt) -> Result { "YAZI_LEVEL", (env::var("YAZI_LEVEL") .ok() - .and_then(|lvl_str| lvl_str.parse::().ok()) + .and_then(|lvl_str| lvl_str.parse::().ok()) .unwrap_or(0) + 1) .to_string(),