projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eeca27
)
Moved configuration for the shell command to config.def.h.
author
Daniel Carl
<danielcarl@gmx.de>
Tue, 30 Jul 2013 16:29:24 +0000
(18:29 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Tue, 30 Jul 2013 16:29:24 +0000
(18:29 +0200)
src/command.c
patch
|
blob
|
history
src/config.def.h
patch
|
blob
|
history
diff --git
a/src/command.c
b/src/command.c
index
445786d
..
24feb1d
100644
(file)
--- 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
(file)
--- 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