From 8250e29888301f09a1b08d6d0f5b3d8522dc9d03 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Tue, 30 Jul 2013 18:29:24 +0200
Subject: [PATCH] Moved configuration for the shell command to config.def.h.

---
 src/command.c    | 2 --
 src/config.def.h | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

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 "URL<tab>title of page<tab>tag1 tag2" */
 #define SHOW_ANNOUNCEMENT
 
-- 
2.20.1