From 7a1d7e8138ba702d9f8621523d53c083c2d8076f Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 21 Jul 2009 04:38:43 +0200 Subject: load ~/.rangerrc instead if ranger.conf if possible --- ranger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger b/ranger index b3088ed1..091df761 100755 --- a/ranger +++ b/ranger @@ -87,7 +87,7 @@ end Option = OptionClass.new(*opt.values) opt = nil -load 'ranger.conf' +load File.exists?( x = File.expand_path( '~/.rangerrc' ) ) ? x : 'ranger.conf' load 'data/colorscheme/' + Option.colorscheme + '.rb' load 'data/screensaver/clock.rb' -- cgit 1.4.1-2-gfad0