From a97cf88889fc94a551bdb8049baf18749d425120 Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Fri, 9 Aug 2024 19:22:54 -0600 Subject: Fix rc logic Accidentally sourced 'dist/etc/dwvshrc' twice, instead of sourcing 'dist/etc/linuxrc' for Linux distros. Signed-off-by: Rory Dudley --- src/compose.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compose.rs b/src/compose.rs index befaf04..a7f22cf 100644 --- a/src/compose.rs +++ b/src/compose.rs @@ -32,7 +32,7 @@ pub fn env() -> Environment { // -> /etc/dwvshrc if cfg!(debug_assertions) && std::env::consts::OS == "linux" { let mut base = PathBuf::from(env!("CARGO_MANIFEST_DIR")); - base.push("dist/etc/dwvshrc"); + base.push("dist/etc/linuxrc"); Some(base) } else { None -- cgit v1.2.3