diff options
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r-- | src/actionhelper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actionhelper.c b/src/actionhelper.c index d1891c9..1d2a518 100644 --- a/src/actionhelper.c +++ b/src/actionhelper.c @@ -191,6 +191,11 @@ int init_create_config_file(UserOpt *opt) { strcat(tmp, "\n"); fputs(tmp, f); + strcpy(tmp, "home_dir = "); + strcat(tmp, getenv("HOME")); + strcat(tmp, "\n"); + fputs(tmp, f); + fclose(f); return 0; } |