2

Can I configure lynx to show me files/folders starting with dot when browsing a local directory? For example:

.git
.bashrc

Thanks.

1
  1. o (for options)
  2. Change Show dot files to on
  3. Accept Changes
  4. Ctrl+R (to refresh)
3
  • Hi @john mee, I can't find the 'Show dot files' options. What version of lynx are you using? I am using Lynx Version 2.8.8rel.2 (09 Mar 2014) on mac os 10.13.6 – user674669 Jul 14 '18 at 6:47
  • Update: Kasapo's answer at superuser.com/questions/518431/… worked for me. – user674669 Jul 14 '18 at 8:26
  • 1
    "Show dot files" was added to the options menu in 2.8.1 (about 20 years ago). – Thomas Dickey Jul 14 '18 at 20:18
0

Copy system-wide lynx.cfg to home directory

cp /usr/local/etc/lynx.cfg ~

Edit ~/lynx.cfg. Change

#NO_DOT_FILES:TRUE

to NO_DOT_FILES:FALSE

and change

#ENABLE_LYNXRC:SHOW_DOTFILES:ON

to

ENABLE_LYNXRC:SHOW_DOTFILES:ON

Save your lynx.cfg

Open lynx as follows:

lynx -cfg ~/lynx.cfg .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.