config: use scripts in $HOME - sob - simple output bar
(HTM) git clone git://git.codemadness.org/sob
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c724e2f7987bba8b9b9c52ebb3ff77721786d2a6
(DIR) parent 99d263504572720db6a3a78f1d1b7e0b50060ca7
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 1 Oct 2014 23:14:31 +0000
config: use scripts in $HOME
Diffstat:
M config.def.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/config.def.h b/config.def.h
@@ -1,8 +1,7 @@
static const char *prompt = "> ";
-static char id[256] = "";
-static const char *completewordcmd[] = { "./scripts/complete_word", id, NULL };
-static const char *historycmd[] = { "./scripts/history", id, NULL };
-static const char *yankcmd[] = { "/bin/sh", "-c", "/bin/xsel -i -p", NULL };
+static const char *completewordcmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/complete_word", NULL };
+static const char *historycmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/history", NULL };
+static const char *yankcmd[] = { "/bin/sh", "-c", "/bin/xsel -i -p", NULL };
static const char *resizecmd = "tmux resize-pane -y 4 2> /dev/null";
static struct keybind {