[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix rc logic


Accidentally sourced 'dist/etc/dwvshrc' twice, instead of sourcing
'dist/etc/linuxrc' for Linux distros.
---
 src/compose.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
cheers!~
Rory




Archive administrator: postmaster AT dwarvish DOT org