Add home directory to config path
patch bc029232d2b2f3bd50e9f633610be6dbddee31a7
Author: Enrique D. Bosch <presidev@AT@gmail.com>
Date: Sun May 29 02:25:34 CEST 2016
* Add home directory to config path
diff -rN -u old-idlebiff/idlebiff new-idlebiff/idlebiff
--- old-idlebiff/idlebiff 2024-11-22 16:10:48.693815769 +0100
+++ new-idlebiff/idlebiff 2024-11-22 16:10:48.693815769 +0100
@@ -149,7 +149,7 @@
upvar #0 argv arg argc argn
variable ::shared::conf
- if { $argn==1 } { set config $arg } else { set config .idlebiffrc }
+ if { $argn==1 } { set config $arg } else { set config "$::env(HOME)/.idlebiffrc" }
set cf [ open $config ]
while { [ gets $cf lin ] >= 0 } \
{