diff --git a/cmake/Install.cmake b/cmake/Install.cmake index 75f96716c..6615e17fc 100644 --- a/cmake/Install.cmake +++ b/cmake/Install.cmake @@ -158,8 +158,6 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/user_doc/html/ # Trailing slash is DESTINATION ${docdir} OPTIONAL) install(FILES CHANGELOG.rst DESTINATION ${docdir}) -install(FILES share/lynx.lss DESTINATION ${rel_datadir}/fish/) - # These files are built by cmake/gettext.cmake, but using GETTEXT_PROCESS_PO_FILES's # INSTALL_DESTINATION leads to them being installed as ${lang}.gmo, not fish.mo # The ${languages} array comes from cmake/gettext.cmake diff --git a/share/functions/help.fish b/share/functions/help.fish index a1437cb40..4990d9062 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -242,11 +242,6 @@ function help --description 'Show help for the fish shell' $fish_browser $page_url & disown $last_pid >/dev/null 2>&1 else - # Work around lynx bug where
always has the same formatting as links (unreadable) - # by using a custom style sheet. See https://github.com/fish-shell/fish-shell/issues/4170 - if string match -qr '^lynx' -- $fish_browser - set fish_browser $fish_browser -lss={$__fish_data_dir}/lynx.lss - end $fish_browser $page_url end end diff --git a/share/lynx.lss b/share/lynx.lss deleted file mode 100644 index dcf83f26f..000000000 --- a/share/lynx.lss +++ /dev/null @@ -1,104 +0,0 @@ -# Lynx Style Sheet -# Used as a custom style sheet (LSS) for the Lynx browser to work around some -# poor defaults. Usage: `lynx -lss=style.lss` -# -# The next line (beginning with "em") means: use bold if mono, otherwise -# brightblue on (implicit) -em:bold:brightblue -strong:bold:brightred -b:bold:red -i:bold:brightblue -a:bold:green -img:dim:brown -fig:normal:gray -caption:reverse:brown -hr:normal:yellow -blockquote:normal:brightblue -ul:normal:brown -address:normal:magenta -title:normal:magenta -tt:dim:brightmagenta:default -h1:bold:yellow -h2:normal:brown -h3:normal:green -h4:normal:cyan -label:normal:magenta -q:normal:yellow -small:dim:default -big:bold:yellow -sup:bold:yellow -sub:dim:gray -lh:bold:yellow -li:normal:magenta -code:normal:cyan -cite:normal:cyan - -table:normal:brightcyan -tr:bold:brown -td:normal:default -br:normal:default - -# Special styles - not corresponding directly to HTML tags -# alert - status bar, when message begins "Alert". -# alink - active link -# normal - default attributes -# status - status bar -# whereis - whereis search target -# -#normal:normal:default:blue -alink:reverse:yellow -status:reverse:yellow -alert:bold:yellow:red -whereis:reverse+underline:magenta -# currently not used -#value:normal:green -#high:bold:brightmagenta -forwbackw.arrow:reverse - -# Styles with classes -