sob

Simple output bar
git clone https://git.sinitax.com/codemadness/sob
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 5155d5feca8a8c6b6045a8ec392d3fc300eac23f
parent c336d9a1b5bc4763a15b91c40b92f5c951dca2fd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 24 Oct 2014 22:35:05 +0000

sob scripts: dont show errors in cli

Diffstat:
Mconfig.def.h | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -1,10 +1,10 @@ /* <green color> "> " <reset>, like mksh you can use '\x01' to stop counting * the characters for the prompt length. */ static const char *prompt = "\x01\x1b[32m\x01> \x01\x1b[0m"; -static const char *completenickcmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/complete_nick", 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[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/resize", NULL }; +static const char *completenickcmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/complete_nick 2> /dev/null", NULL }; +static const char *historycmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/history 2> /dev/null", NULL }; +static const char *yankcmd[] = { "/bin/sh", "-c", "/bin/xsel -i -p 2> /dev/null", NULL }; +static const char *resizecmd[] = { "/bin/sh", "-c", "$HOME/.sob/scripts/resize 2> /dev/null", NULL }; static void line_yank(void)