From e25a4e8b345699c1e3feff3ed5543ffa10af4f43 Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 24 Jul 2020 13:54:28 +0000 Subject: cpt: ignore cpt-lib as well FossilOrigin-Name: 733584408557420c74a045dc235b58e5cb88b3a544fd1b8d670e1d451e9cc850 --- cpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpt b/cpt index 3add8b6..9585330 100755 --- a/cpt +++ b/cpt @@ -14,8 +14,8 @@ case "$arg" in done for path; do - # These are binary files so they should be ignored - contains "readlink stat" "$path" && continue + # These are the files to be ignored. + contains "lib readlink stat" "$path" && continue printf "%b->%b %-${max}s " "${color:+\033[1;31m}" "${color:+\033[m}" "${path#*/cpt-}" sed -n 's/^# *//;2p' "$(command -v "cpt-$path")" -- cgit v1.2.3