summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-09-17 13:13:36 +0300
committerDylan Araps <dylan.araps@gmail.com>2020-09-17 13:13:36 +0300
commit542be9f1d7e9d0dc1f135520a67f0bd18fd1faad (patch)
tree70766a6371e728d5b6781abd11b6693054725a68
parentc7e9b75648900d77e016ffc6a9ef2b7e807e49cc (diff)
image: Added NetBSD support and FFF_W3M_PATH. Closes #162
-rwxr-xr-xfff4
1 files changed, 2 insertions, 2 deletions
diff --git a/fff b/fff
index b49181e..8a7161f 100755
--- a/fff
+++ b/fff
@@ -141,8 +141,8 @@ get_ls_colors() {
get_w3m_path() {
# Find the path to the w3m-img library.
- w3m_paths=(/usr/{local/,}{lib,libexec,lib64,libexec64}/w3m/w3mi*)
- read -r w3m _ < <(type -p w3mimgdisplay "${w3m_paths[@]}")
+ w3m_paths=(/usr/{pkg/,}{local/,}{bin,lib,libexec,lib64,libexec64}/w3m/w3mi*)
+ read -r w3m _ < <(type -p "$FFF_W3M_PATH" w3mimgdisplay "${w3m_paths[@]}")
}
get_mime_type() {