summaryrefslogtreecommitdiffstats
path: root/src/compose.rs
diff options
context:
space:
mode:
authorRory Dudley2024-08-09 19:22:54 -0600
committerRory Dudley2024-08-09 19:56:56 -0600
commita97cf88889fc94a551bdb8049baf18749d425120 (patch)
tree3eaf2625f2bc26b3446bcc8dda18e347196830b0 /src/compose.rs
parentf94b2c5546dda28d558a12b5b1ba6ac3faa447c2 (diff)
downloaddwarvish-a97cf88889fc94a551bdb8049baf18749d425120.tar.gz
Fix rc logic
Accidentally sourced 'dist/etc/dwvshrc' twice, instead of sourcing 'dist/etc/linuxrc' for Linux distros. Signed-off-by: Rory Dudley <rory@netc.lu>
Diffstat (limited to 'src/compose.rs')
-rw-r--r--src/compose.rs2
1 files changed, 1 insertions, 1 deletions
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