Moved configuration for the shell command to config.def.h.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 30 Jul 2013 16:29:24 +0000 (18:29 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 30 Jul 2013 16:29:24 +0000 (18:29 +0200)
src/command.c
src/config.def.h

index 445786d..24feb1d 100644 (file)
@@ -30,8 +30,6 @@
 #include "bookmark.h"
 #include "dom.h"
 
-#define SHELL_CMD "/bin/sh -c '%s'"
-
 typedef struct {
     char    *file;
     Element *element;
index 4d3dc2f..e42a1f4 100644 (file)
@@ -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 "URL<tab>title of page<tab>tag1 tag2" */
 #define SHOW_ANNOUNCEMENT