From fa4beb5aa8e2f4a9545444ff5a725ba8976447bc Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 10 Jun 2010 19:49:17 -0400 Subject: [PATCH] Fix /rules in wmiirc and p9p/wmiirc. --- alternative_wmiircs/plan9port/wmiirc | 2 +- cmd/wmii/client.c | 2 +- rc/wmiirc.sh | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/alternative_wmiircs/plan9port/wmiirc b/alternative_wmiircs/plan9port/wmiirc index 5f105f95..58010597 100755 --- a/alternative_wmiircs/plan9port/wmiirc +++ b/alternative_wmiircs/plan9port/wmiirc @@ -48,7 +48,7 @@ wmiir write /colrules <tags, sizeof c->tags); else { refree(&c->tagre); diff --git a/rc/wmiirc.sh b/rc/wmiirc.sh index 80cb0fc7..25d8e41b 100644 --- a/rc/wmiirc.sh +++ b/rc/wmiirc.sh @@ -51,7 +51,7 @@ wmiir write /colrules <$progsfile & # Setup Tag Bar IFS="$wi_newline" -wmiir rm $(wmiir ls /lbar | sed 's,^,/lbar/,') >/dev/null +wmiir rm $(wmiir ls -p /lbar) >/dev/null seltag=$(wmiir read /tag/sel/ctl | sed 1q) unset IFS wi_tags | while read tag