From 5b8b6d605bbb8af8ca5633117a3ca36df0c84b0a Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 15 Oct 2010 01:46:02 +0200 Subject: core.main: disable preview script for root by default --- ranger/core/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/core/main.py b/ranger/core/main.py index bfb342f3..c488dc5c 100644 --- a/ranger/core/main.py +++ b/ranger/core/main.py @@ -74,6 +74,7 @@ def main(): load_settings(fm, arg.clean) if fm.env.username == 'root': fm.settings.preview_files = False + fm.settings.use_preview_script = False if not arg.debug: from ranger.ext import curses_interrupt_handler curses_interrupt_handler.install_interrupt_handler() -- cgit 1.4.1-2-gfad0