Skip to content

Commit

Permalink
depress stderr msg of ranger when run fm cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jfding committed Oct 13, 2024
1 parent f110577 commit 2a9773e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boxops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn file_manager() -> Result<()> {
let fm = which("ranger").unwrap_or(def_fm.into());

run_cmd!(
sh -c "$fm $basedir"
sh -c "$fm $basedir 2>/dev/null"
)?;
Ok(())
}
Expand Down

0 comments on commit 2a9773e

Please sign in to comment.