about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-07-21 04:38:43 +0200
committerhut <hut@lavabit.com>2009-07-21 04:38:43 +0200
commit7a1d7e8138ba702d9f8621523d53c083c2d8076f (patch)
tree0620669c43c8168efde327554d2003904277acb9
parent24b8851bf5563550cc61ef7eb1707449312fedd0 (diff)
downloadranger-7a1d7e8138ba702d9f8621523d53c083c2d8076f.tar.gz
load ~/.rangerrc instead if ranger.conf if possible
-rwxr-xr-xranger2
1 files changed, 1 insertions, 1 deletions
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'