diff options
author | hut <hut@lavabit.com> | 2009-07-18 21:30:11 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-18 21:30:11 +0200 |
commit | e3da2766bd220e85d6850ff6a0d1c692dba9c0d0 (patch) | |
tree | 4b5c44d354c9cc5b96a860f5cd16e4e1a54f36bd /code | |
parent | eee8c9c3389d947b2362bce838a21f6417efa814 (diff) | |
download | ranger-e3da2766bd220e85d6850ff6a0d1c692dba9c0d0.tar.gz |
show 'lost+found' folder if &show_hidden is on
Diffstat (limited to 'code')
-rw-r--r-- | code/directory.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/directory.rb b/code/directory.rb index 191d3b93..65c4047c 100644 --- a/code/directory.rb +++ b/code/directory.rb @@ -28,7 +28,7 @@ class Directory log @path files = Dir.new(@path).to_a rescue [] if Option.show_hidden - files -= ['.', '..', 'lost+found'] + files -= ['.', '..'] else files.reject!{|x| x[0] == ?. or x == 'lost+found'} end |