From: Daniel Carl Date: Tue, 30 Jul 2013 16:29:24 +0000 (+0200) Subject: Moved configuration for the shell command to config.def.h. X-Git-Url: https://git.owens.tech/assets/static/dummy.html/assets/static/dummy.html/git?a=commitdiff_plain;h=8250e29888301f09a1b08d6d0f5b3d8522dc9d03;p=vimb.git Moved configuration for the shell command to config.def.h. --- diff --git a/src/command.c b/src/command.c index 445786d..24feb1d 100644 --- a/src/command.c +++ b/src/command.c @@ -30,8 +30,6 @@ #include "bookmark.h" #include "dom.h" -#define SHELL_CMD "/bin/sh -c '%s'" - typedef struct { char *file; Element *element; diff --git a/src/config.def.h b/src/config.def.h index 4d3dc2f..e42a1f4 100644 --- a/src/config.def.h +++ b/src/config.def.h @@ -41,6 +41,9 @@ #define WIN_WIDTH 800 #define WIN_HEIGHT 600 +/* template to run shell command for vimb command :shellcmd */ +#define SHELL_CMD "/bin/sh -c '%s'" + /* remove next line if the bookmark file fits to the new format "URLtitle of pagetag1 tag2" */ #define SHOW_ANNOUNCEMENT