File src/cfg/config.c changed (mode: 100644) (index f2bb75397..836eb220b) |
28 |
28 |
|
|
29 |
29 |
#ifndef __APPLE__ |
#ifndef __APPLE__ |
30 |
30 |
#define SAMPLE_VIFMRC "vifmrc" |
#define SAMPLE_VIFMRC "vifmrc" |
|
31 |
|
#define SAMPLE_MEDIAPRG "vifm-media" |
31 |
32 |
#else |
#else |
32 |
33 |
#define SAMPLE_VIFMRC "vifmrc-osx" |
#define SAMPLE_VIFMRC "vifmrc-osx" |
|
34 |
|
#define SAMPLE_MEDIAPRG "vifm-media-osx" |
33 |
35 |
#endif |
#endif |
34 |
36 |
|
|
35 |
37 |
#include <assert.h> /* assert() */ |
#include <assert.h> /* assert() */ |
|
... |
... |
cfg_init(void) |
159 |
161 |
cfg.grep_prg = strdup("grep -n -H -I -r %i %a %s"); |
cfg.grep_prg = strdup("grep -n -H -I -r %i %a %s"); |
160 |
162 |
cfg.locate_prg = strdup("locate %a"); |
cfg.locate_prg = strdup("locate %a"); |
161 |
163 |
cfg.delete_prg = strdup(""); |
cfg.delete_prg = strdup(""); |
162 |
|
cfg.media_prg = format_str("%s/vifm-media", get_installed_data_dir()); |
|
|
164 |
|
cfg.media_prg = format_str("%s/" SAMPLE_MEDIAPRG, get_installed_data_dir()); |
163 |
165 |
|
|
164 |
166 |
cfg.tail_tab_line_paths = 0; |
cfg.tail_tab_line_paths = 0; |
165 |
167 |
cfg.trunc_normal_sb_msgs = 0; |
cfg.trunc_normal_sb_msgs = 0; |