aboutsummaryrefslogtreecommitdiff
path: root/src/cpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpt')
-rwxr-xr-xsrc/cpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpt b/src/cpt
index ce4c70f..57e16b4 100755
--- a/src/cpt
+++ b/src/cpt
@@ -16,8 +16,8 @@ case "$arg" in
done
for path; do
- # These are the files to be ignored.
- contains "lib readlink stat" "$path" && continue
+ # Ignore the library.
+ [ lib = "$path" ] && continue
printf "%b->%b %-${max}s " "$colorb" "$colre" "${path#*/cpt-}"
sed -n 's/^# *//;2p' "$(command -v "cpt-$path")"