X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/d224f56a90829daccb53490b9163f37efd61350c..40f2eee5acdbe92aca68f47ffc6ee15aa3035f7e:/modules/Command.pm?ds=inline diff --git a/modules/Command.pm b/modules/Command.pm index 2905545..a35abd4 100644 --- a/modules/Command.pm +++ b/modules/Command.pm @@ -132,6 +132,7 @@ sub exec_show($$) foreach my $dir(@$dirs) { + next if($config->{'hide_dot_files'} && substr($dir,0,1) eq '.'); next unless(dos_wildcard_match($filter1,$dir)); my $phys_path = $physical.'/'.$dir; @@ -159,6 +160,7 @@ sub exec_show($$) foreach my $file(@$files) { + next if($config->{'hide_dot_files'} && substr($file,0,1) eq '.'); next unless(dos_wildcard_match($filter1,$file)); my $phys_path = $physical.'/'.$file;