summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-02-22 03:17:46 +0100
committerhut <hut@lavabit.com>2013-02-22 03:19:28 +0100
commit58247b857f861c057158ec3ecab89f3dffcfe290 (patch)
tree283c35c9d5b06abd8432f9ea4e12b09d72661e51 /examples
parent33aeef8e9fe3891723a2d2fe450859c46cb572ab (diff)
downloadranger-58247b857f861c057158ec3ecab89f3dffcfe290.tar.gz
core.main: added RANGER_LOAD_DEFAULT_RC environment variable
this fixes the problem that examples/plugin_skip_default_rc doesn't
work, because plugins are loaded after the rc.conf.
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_skip_default_rc.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/examples/plugin_skip_default_rc.py b/examples/plugin_skip_default_rc.py
deleted file mode 100644
index 6a657a99..00000000
--- a/examples/plugin_skip_default_rc.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# This plugin inhibits the loading of the default rc.conf.  This serves to
-# speed up starting time by avoiding to load rc.conf twice if you have a full
-# copy of it in ~/.config/ranger.
-#
-# Don't use this if you have a supplementary rc.conf or no rc.conf at all, or
-# you will end up without key bindings and options.
-
-import ranger.core.main
-ranger.core.main.load_default_config = False