2

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

.git
.bashrc

Thanks.

user674669
  • 557
  • 2
  • 10
  • 24

2 Answers2

1
  1. o (for options)
  2. Change Show dot files to on
  3. Accept Changes
  4. Ctrl+R (to refresh)
John Mee
  • 918
  • 2
  • 10
  • 18
  • 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 06:47
  • Update: Kasapo's answer at https://superuser.com/questions/518431/how-to-i-configure-lynx-user-settings-without-changing-os-level-settings worked for me. – user674669 Jul 14 '18 at 08: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 .
user674669
  • 557
  • 2
  • 10
  • 24