about summary refs log tree commit diff stats
path: root/ranger.rb
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-19 23:21:48 +0200
committerhut <hut@lavabit.com>2009-07-19 23:21:48 +0200
commit0a0c06e37f8a236cf780ee822357e5c59e197d5c (patch)
tree4b3548d24a186440e137b621226e217c44c1eea1 /ranger.rb
parentb1040ca5c9b4d630b99d54d5f9b63c3bafd5a7a3 (diff)
downloadranger-0a0c06e37f8a236cf780ee822357e5c59e197d5c.tar.gz
replaced EVIL with Option.evil, moved explanation to scheduler.rb
Diffstat (limited to 'ranger.rb')
-rwxr-xr-xranger.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/ranger.rb b/ranger.rb
index 3dc05e6d..485305e8 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -4,11 +4,6 @@ version = '0.2.4'
 require 'pathname'
 $: << MYDIR = File.dirname(Pathname(__FILE__).realpath)
 
-## this switches on some features which may cause harm,
-## mainly by leaving this program running after you quit it from
-## your window manager, ie. clicking on the X or pressing ALT+F4
-EVIL = false
-
 if ARGV.size > 0
 	case ARGV.first
 	when '-k'
@@ -50,6 +45,7 @@ opt = {
 	:debug_file             => '/tmp/errorlog',
 	:colorscheme            => 'default',
 	:cd                     => ARGV.include?('--cd'),
+	:evil                   => false
 }
 
 class OptionClass < Struct.new(*opt.keys)