summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-01-13 17:43:15 +0200
committerDylan Araps <dylan.araps@gmail.com>2019-01-13 17:43:15 +0200
commit002a6f18be12a04e5a81791b0449046a9d568197 (patch)
treebe0202380112c3b44cbde3357bc87ecae984de2c
parente58146e8d7e376ab3faaf9d8c3ea76491a5ae064 (diff)
ls_colors: cleanup
-rwxr-xr-xfff2
1 files changed, 1 insertions, 1 deletions
diff --git a/fff b/fff
index b9266b7..023635f 100755
--- a/fff
+++ b/fff
@@ -85,7 +85,7 @@ get_ls_colors() {
# Iterate over the list and separate patterns
# from '.ext' matching.
for col in "${ls_cols[@]}"; do
-
+ # Entry is a pattern instead of a file extension.
[[ $col =~ ^\*[^\.] ]] &&
ls_patterns+="${col/=*}|"