about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-14 17:22:27 +0100
committerhut <hut@lavabit.com>2012-03-14 17:22:27 +0100
commit3dbf02334adf4b309c46e63935677f8f06e750e7 (patch)
treed4521b2e07e3b76b8f93aa02c06f89afcab41876
parent6458c26c954e13be51c2e2a9b3cbe1d92cde55e0 (diff)
downloadranger-3dbf02334adf4b309c46e63935677f8f06e750e7.tar.gz
defaults/options: add __pycache__ to hidden files
-rw-r--r--ranger/defaults/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py
index d076a96d..5e30f042 100644
--- a/ranger/defaults/options.py
+++ b/ranger/defaults/options.py
@@ -26,7 +26,7 @@ column_ratios = (1, 3, 4)
 # Which files should be hidden?  Toggle this by typing `zh' or
 # changing the setting `show_hidden'
 hidden_filter = regexp(
-	r'^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__cache__$')
+	r'^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$')
 show_hidden = False
 
 # Which script is used to generate file previews?