diff options
author | Dylan Araps <dylan.araps@gmail.com> | 2020-09-17 13:13:36 +0300 |
---|---|---|
committer | Dylan Araps <dylan.araps@gmail.com> | 2020-09-17 13:13:36 +0300 |
commit | 542be9f1d7e9d0dc1f135520a67f0bd18fd1faad (patch) | |
tree | 70766a6371e728d5b6781abd11b6693054725a68 | |
parent | c7e9b75648900d77e016ffc6a9ef2b7e807e49cc (diff) |
image: Added NetBSD support and FFF_W3M_PATH. Closes #162
-rwxr-xr-x | fff | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() { |