Add w3m to browser options.

This commit is contained in:
Storm Dragon 2018-06-15 22:02:09 -04:00
parent c565a08915
commit 8b655e1072

View File

@ -44,7 +44,8 @@ initialize_directory()
links\ links\
lynx\ lynx\
midori\ midori\
seamonkey seamonkey\
w3m
do do
unset browserPath unset browserPath
browserPath="$(command -v $i)" browserPath="$(command -v $i)"
@ -64,7 +65,7 @@ initialize_directory()
"elinks") "elinks")
echo "text/html; $browserPath -dump -force-html -dump-charset utf-8 -no-numbering %s; nametemplate=%s.html; copiousoutput" > "$muttHome/mailcap" echo "text/html; $browserPath -dump -force-html -dump-charset utf-8 -no-numbering %s; nametemplate=%s.html; copiousoutput" > "$muttHome/mailcap"
;; ;;
"lynx") "lynx|w3m")
echo "text/html; $browserPath -dump %s; nametemplate=%s.html; copiousoutput" > "$muttHome/mailcap" echo "text/html; $browserPath -dump %s; nametemplate=%s.html; copiousoutput" > "$muttHome/mailcap"
;; ;;
*) *)