From 58247b857f861c057158ec3ecab89f3dffcfe290 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 22 Feb 2013 03:17:46 +0100 Subject: 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. --- doc/ranger.1 | 5 +++++ doc/ranger.pod | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'doc') diff --git a/doc/ranger.1 b/doc/ranger.1 index 64199243..e18ec5d0 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -1028,6 +1028,11 @@ These environment variables have an effect on ranger: ranger sets this environment variable to \*(L"1\*(R" or increments it if it already exists. External programs can determine whether they were spawned from ranger by checking for this variable. +.IP "\s-1RANGER_LOAD_DEFAULT_RC\s0" 8 +.IX Item "RANGER_LOAD_DEFAULT_RC" +If this variable is set to \s-1FALSE\s0, ranger will not load the default rc.conf. +This can save time if you copied the whole rc.conf to ~/.config/ranger/ and +don't need the default one at all. .IP "\s-1EDITOR\s0" 8 .IX Item "EDITOR" Defines the editor to be used for the \*(L"E\*(R" key. Defaults to \*(L"nano\*(R". diff --git a/doc/ranger.pod b/doc/ranger.pod index 86b7df25..748e48b3 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -1105,6 +1105,12 @@ ranger sets this environment variable to "1" or increments it if it already exists. External programs can determine whether they were spawned from ranger by checking for this variable. +=item RANGER_LOAD_DEFAULT_RC + +If this variable is set to FALSE, ranger will not load the default rc.conf. +This can save time if you copied the whole rc.conf to ~/.config/ranger/ and +don't need the default one at all. + =item EDITOR Defines the editor to be used for the "E" key. Defaults to "nano". -- cgit 1.4.1-2-gfad0