tgroaw: replaced mapw with wattr to get mapping status - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 4333e57df94e40bb75761bd7ca04279618a733f2
(DIR) parent 7759329235cc0ce29a8492c6b22ccd1d1b997947
(HTM) Author: z3bra <willy@mailoo.org>
Date: Thu, 5 Feb 2015 14:11:46 +0100
groaw: replaced mapw with wattr to get mapping status
Diffstat:
M groaw | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/groaw b/groaw
t@@ -44,7 +44,7 @@ togg_group() {
wid=$(ls -1 $GROOT/$1 | sed 1q)
test -z "$wid" && return
- mapw $wid \
+ wattr $wid \
&& hide_group $1 \
|| show_group $1
}
t@@ -76,4 +76,3 @@ done
# in case no argument is given, display the whole tree
test $# -eq 0 && tree --noreport $GROOT
-